JSONP Implications with true REST

Posted by REA_ANDREW on Stack Overflow See other posts from Stack Overflow or by REA_ANDREW
Published on 2010-05-31T11:09:21Z Indexed on 2010/05/31 11:13 UTC
Read the original article Hit count: 250

Filed under:
|
|
|

From my understanding JSONP can only be achieved using the GET verb. Assuming this is true which I think it is, then this rules out core compliance with true REST in which you should make use of different verbs i.e. GET,PUT,POST,DELETE etc... for different and specific purposes.

My question is what type of barriers am I likely to come up against if I where to say allow updating and deleting of resources using a JSONP service using a get request.

Is it better practice to offer a JSON service and state that the user will need a server side proxy to consume using JavaScript XDomain?

Cheers ,

Andrew

© Stack Overflow or respective owner

Related posts about JSON

Related posts about rest