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

Unable to send multipart/form-data #66

Closed
arao5 opened this issue Jan 29, 2017 · 4 comments
Closed

Unable to send multipart/form-data #66

arao5 opened this issue Jan 29, 2017 · 4 comments

Comments

@arao5
Copy link

arao5 commented Jan 29, 2017

  • VSCode Version: 1.8.1
  • OS Version: Win7
  • REST Client Version: 0.12.1

Tried the following code but i get bad response. but when tried with postman i get good response. am i doing anything wrong while sending request?

POST https://www.mysite.com/oauth2/token HTTP/1.1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="type"

credentials
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="id"

12345
------WebKitFormBoundary7MA4YWxkTrZu0gW--

@Huachao
Copy link
Owner

Huachao commented Jan 29, 2017

@arao5 I will fix this ASAP, it's a bug of my code to parsing request body.

@Huachao
Copy link
Owner

Huachao commented Jan 30, 2017

@arao5 I have fixed the bug and will publish it in next release, sorry for the inconvenience.

@Huachao
Copy link
Owner

Huachao commented Feb 13, 2017

@arao5 you can try the latest version 0.12.2 to verify this fix, thanks for your feedback 😄

@arao5
Copy link
Author

arao5 commented Feb 14, 2017

thanks.. it's working ..

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

No branches or pull requests

2 participants