Skip to content

Cannot send multipart/form-data #211

Description

@StivaleDiAcciaio

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions