You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is expected but I was working with an API expecting a multipart upload and it tripped up whenever I would set the content type header according to the documentation. The below snippet exhibits the same behavior.
Not setting the content type header resulted in a successful request.
I don't fully understand why but thought I'd raise as feedback.
(http/post"https://postman-echo.com/post"
{:headers {"Content-Type""multipart/form-data"} ; < -- this made the request fail:multipart [{:name"title":content"My Title"}
{:name"file":content (io/file test-file) }]})
The text was updated successfully, but these errors were encountered:
I'm not sure if this is expected but I was working with an API expecting a multipart upload and it tripped up whenever I would set the content type header according to the documentation. The below snippet exhibits the same behavior.
Not setting the content type header resulted in a successful request.
I don't fully understand why but thought I'd raise as feedback.
The text was updated successfully, but these errors were encountered: