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
Put request throws error with headers option #2245
Comments
Try
|
I get the same error. its trying to string.replace on an object, when using Body, but the headers is set to FormData. So its a mixup of data types |
set 'useQuerystring': false in reqOptions: 'use strict'; request({ |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I got an error from a PUT request.But i found it can work without the header option.
The request with a header options is like this:
And the error is:
Is there any problem with my headers option or is the problem from the module?
The text was updated successfully, but these errors were encountered: