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

Cannot send multipart/form-data #211

Open
StivaleDiAcciaio opened this issue Nov 6, 2020 · 0 comments
Open

Cannot send multipart/form-data #211

StivaleDiAcciaio opened this issue Nov 6, 2020 · 0 comments

Comments

@StivaleDiAcciaio
Copy link

StivaleDiAcciaio commented Nov 6, 2020

I try to send body request like this with Content-Type multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW:

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="options"
Content-Type: application/json
{
"name": "readme.txt",
"folder": "/Configurations/pluto",
}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="content"

here my text content
------WebKitFormBoundary7MA4YWxkTrZu0gW--_

If I send it via Postman work fine, but if I try to send it via node-rest-client doesn't works

How can I send this body request via node-rest-client?

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