1. I don't like magic string names like "AjaxExample1". Why not return an object, and use:
var AjaxExpample1 = amplify.request...
2. It is not clear how you mix get parameters and post data. If I want to POST to "/users/{id}/", how do I separate the post values from the parameter?
1. I don't like magic string names like "AjaxExample1". Why not return an object, and use:
var AjaxExpample1 = amplify.request...
2. It is not clear how you mix get parameters and post data. If I want to POST to "/users/{id}/", how do I separate the post values from the parameter?