a restful api only uses clean urls - no url variables or post variables
A restful api has to use either get, post, put or delete request methods. The behavaiour and data submitted is entirely determined by the uri string. No query paramters or post variables. Is this true ? Valid : http://example.com/foo/84 Not valid : http://example.com/foo/?value=84 Valid : $.ajax({ type: 'POST', url: "http://example.com/foo/84", success: success, dataType: dataType }); Not valid : $.ajax({ type: 'POST', url: "http://example.com/foo/", data: 84, success: success, dataType: dataType }); edit Two answers so far, and the contradict each other. Saying that http://example.com/foo/