Thank you, this was very helpful! Just a note, I'm using the Postman extension for chrome, Always ensure you send the data as "x-www-form-urlencoded" and not just plain "form-data", you will get some strange results otherwise.