restfulobjects / restfulobjects-spec

The Restful Objects specification defines a set of RESTful resources, and corresponding JSON representations, for accessing and manipulating a domain object model.
http://restfulobjects.org
73 stars 10 forks source link

Discussion on CORS and JSONP #6

Open danhaywood opened 11 years ago

danhaywood commented 11 years ago

ver: 1.0.0 from email thread with: richardpawson, adamhoward

I think Dan was proposing at one point that the RO spec be extended to cover this scenario, using a tunneling approach, but this was not taken any further forward as I recall.

We think that a more promising angle would be 'CORS' (see e.g. http://en.wikipedia.org/wiki/Cross-origin_resource_sharing ). We have no actual experience of this but, as we understand it, this would not require any change to the RO spec - we could just implement it within the Restful Objects for .NET server. I'd be interested to hear your views on this? If you (and any others interested) agree then I'll raise a ticket for it.

Meantime, I'm not sure what else we can do.

richardpawson commented 11 years ago

Just to let you know that we have successfully used CORS on a deployment, and it was quite straightforward.

richardpawson commented 11 years ago

Sorry - I hit the wrong button - didn't mean to close the issue.