Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ah, I think this may be a bug for the REST client always using JSON.stringify on the body in https://github.com/feathersjs/feathers/blob/master/packages/rest-client/lib/fetch.js#L12. You could use fetch directly for now and pass the Authorization header for authentication. #2124

Closed
jurajpiar opened this issue Nov 12, 2020 · 0 comments

Comments

@jurajpiar
Copy link

Ah, I think this may be a bug for the REST client always using JSON.stringify on the body in https://github.com/feathersjs/feathers/blob/master/packages/rest-client/lib/fetch.js#L12. You could use fetch directly for now and pass the Authorization header for authentication.

Originally posted by @daffl in #1744 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant