Skip to main content
Question

Include a curl api body in http caller

  • December 13, 2023
  • 1 reply
  • 40 views

fme_hans
Contributor
Forum|alt.badge.img+5

Hi how can I include the following api curl post in an http caller?

 

curl -X 'POST' \\

 'https://<a domain>/upload' \\

 -H 'accept: text/html' \\

 -H 'Authorization: Bearer <a password>' \\

 -H 'Content-Type: multipart/form-data' \\

 -F 'filter=<a textstring>' \\

 -F 'file=@<a filename>' \\

 -F 'adddata=false' \\

 -F 'type='  

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+53

2023-12-13_13h45_24


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings