Get data from non-standard api Call


#1

So far I have been dealing with “standard” kind of API calls like /posts/ or /post/4 but now am wondering how to call “non standard” api call like GET /post/search/some_text or GET/post/suspend/1

I use custom kind of API (Non JSONAPI) with custom Restadapter. Thanks!


#2

If you’re using Ember Data, you can overwrite a couple of internal functions of the adapter you are using as buildURL or pathForType, or create a specialized adapter.