Skip to content

Fix in get request - #251

Closed
PrabhuKathiresan wants to merge 1 commit into
feathersjs-ecosystem:masterfrom
PrabhuKathiresan:master
Closed

PrabhuKathiresan wants to merge 1 commit into
feathersjs-ecosystem:masterfrom
PrabhuKathiresan:master

Conversation

@PrabhuKathiresan

@PrabhuKathiresan PrabhuKathiresan commented Dec 17, 2018 •

Copy link
Copy Markdown

When we try to get data of a paricular id (i.e) http://domain.com/service/:id, we receive 404 not found error saying, no record found for id 'xxxxx' but the same returns me the actual data when I construct the url as http://domain.com/service?id=xxxxx

I found that adding order: [] to the query parameter in the _get function gets me the actual data.

Not sure what exactly happens in the background.

Please add your comments for more clarification and details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant