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

Content-type boundary None when upload to API #22

Open
TheCrott opened this issue May 7, 2018 · 0 comments
Open

Content-type boundary None when upload to API #22

TheCrott opened this issue May 7, 2018 · 0 comments

Comments

@TheCrott
Copy link

TheCrott commented May 7, 2018

I encountered an error when upload to my API. I test with postman and httpie it's working, but when use base64 plugin I got error "Invalid boundary in multipart: None". I already set "Content-Type: multipart/form-data" in ionic post header to my API but still got error.

http --verbose --form POST myapi.com/resources/ [email protected] name=Clark

Here is the output from httpie

POST /api/v0/kajian/ HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 79578
Content-Type: multipart/form-data; boundary=3cad93334b304f30b555d85a0cbdb880
Host: myapi.com
User-Agent: HTTPie/0.9.9
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