Ask Your Question

Http Client won't send request when use form data

asked 2018-11-12 06:55:10 -0500

kilik52 gravatar image

Hi there, im new to the stream sets. When i was trying http client origin, i found that if the request is POST with form data, the http client won't send any request.

I wrote a server to test it, and if i use GET or POST with json, the server did receive the data. But nothing happened in the case of POST with form data. Here the configuration:

Is there anything wrong in the configuration? Thanks.

edit retag flag offensive close merge delete


Hi! Are you trying to upload files? If not, what's the reason behind using multipart/form-data?

iamontheinet gravatar imageiamontheinet ( 2018-11-12 14:02:01 -0500 )edit

@iamontheinet thank you for your remind. i found that i should use "application/x-www-form-urlencoded" instead of "multipart/form-data". Problem solved. By the way, can i upload a file with "multipart/form-data" in http client?

kilik52 gravatar imagekilik52 ( 2018-11-12 18:49:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-15 09:07:10 -0500

iamontheinet gravatar image


You should use application/x-www-form-urlencoded instead of multipart/form-data.

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-11-12 06:55:10 -0500

Seen: 68 times

Last updated: Nov 15 '18