View Full Version : Which data format should I return when I use a REST proxy?

11 May 2012, 6:40 AM
I'm using ruby on rails and the rest proxy. I'm using everything through json objects because I've a single webpage app.

However, I can't find where is written how the data should be returned (as a json) from the webpage to the proxy to make it works correctly.

I don't know what data format every operation expects: if I have a create link, what should I return in that page? Are there any guidelines or where I can find those type of information?

Thanks for any suggestion

13 May 2012, 4:44 AM
Generally an array of objects that match your model mappings.