viezel / napp.alloy.adapter.restapi

RestAPI Sync Adapter for Titanium Alloy Framework
197 stars 102 forks source link

Allow for more flexibility when working with get requests #48

Closed leitom closed 10 years ago

leitom commented 10 years ago

If the api allows for more parameters through _GET then we should be able to use them.

e.x: collection.fetch({data:{limit:15, language:’en’}});

viezel commented 10 years ago

huh? There is no payload in a GET request. How would you support this?

leitom commented 10 years ago

ex: http://www.url.dk/?language=en&limit=15 did you see the code changes I proposed?

viezel commented 10 years ago

oh, you just want to support data if people dont know urlParams.. sure :)