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

Remove content type from apiRestDataSource #118

Merged
merged 1 commit into from
May 11, 2023

Conversation

fraliv13
Copy link
Contributor

The content type is automatically set by RESTDataSource according to the body of the .
Setting it to "application/json" for all requests breaks file uploads which require a body of type FormData (content type "multipart/form-data")

@fraliv13 fraliv13 merged commit ce2b163 into master May 11, 2023
1 check passed
@fraliv13 fraliv13 deleted the feature/remove-content-type branch May 11, 2023 11:51
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.

None yet

2 participants