ACTION: POST HTTP Request with form data
-
Hi,
I actually did not know if this is the right place to post this question. So, apologies in advance.I am trying to build this request action with the flic client app for Android...
This is how the request looks for curl
curl -X POST
https://webhook.site/935a1705-d1d3-40ab-8609-21be7acbb043
-H 'Accept: /'
-H 'Cache-Control: no-cache'
-H 'Connection: keep-alive'
-H 'Content-Type: application/x-www-form-urlencoded'
-H 'Host: webhook.site'
-H 'Postman-Token: 07c9d493-c482-46f0-8af2-b1405f5c9469,d15bf565-79d6-48f2-88df-d57072988e56'
-H 'User-Agent: PostmanRuntime/7.11.0'
-H 'accept-encoding: gzip, deflate'
-H 'cache-control: no-cache'
-H 'content-length: 756'
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
-F family=AAADEVRFID
-F type=AAADEVRFIDLOCALIZATION
-F version=1.0
-F 'eventBody={'''eMail''':'''jmn48@gmail.com''','''Param1''':'''Param1''','''Param2''':'''Param2''','''Param2''':'''Param2''','''Param3''':'''Param3''','''Param4''':'''Param4''','''Param5''':'''Param5''','''Param6''':'''Param6''','''Param7''':'''Param7''','''Param8''':'''Param8''','''Param9''':'''Param9''','''Param10''':'''Param10'''}'The most challenging part for me is to figure out how to enter all the information that is part of the form, marked with F in the curl request above.
Could anyone please direct me to the right place to get help on this?
-
As with so many technical requests your question isn't really clear enough as to what the problem is. It looks like you're using Postman to generate the code and wanting to post a multipart form. I can only point you to
https://ec.haxx.se/http-multipart.html .
You have my sympathies, curl is not the easiest to understand and API documentation rarely makes it easy to understand exactly what's necessary.