Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Query params in JSON payload

$
0
0

@em.b wrote:

Hi All,

Newbie forum user here, also a newbie to ember.

I am designing an ember app that must talk to an API that expects all query parameters to be passed in as a JSON object in the body of the XHR request. It seems that the ember way is to put all of the query params in the URL. These particular parameters are used as filter arguments to a search engine; one of the parameters is the search text itself.

Is it possible to pass parameters in this manner using ember without having to write a bunch of custom serializers and/or adapters? I also want to make sure that Ember Data doesn't get pushed out of the picture.

Thanks much.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles