-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unset default application/json content-type header #1362
Labels
Comments
That's a good use case. We have |
Could you try implementing it? I think it could go like this:
|
Will do! |
12 tasks
v5.3.0 published to npm and GitHub releases page with changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using superagent to perform various request to custom API's for my project. I also want to use it to call the geocode API from google maps. This API only accepts requests without the content-type header due to CORS.
Is it possible to remove (unset) the default application/json type/header? (request-base.js - line 593)
The text was updated successfully, but these errors were encountered: