Skip to content
New issue

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

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

Already on GitHub? Sign in 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)

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

No branches or pull requests

1 participant