LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

replicate cURL --form file=@<filepath> <URL> behavor

I think I have nailed converting every other curl command to LV native.  This one has me stumped and it should be real easy. Just trying to upload a file through a web form.

 

cul --location -H "x-file-format: <FILE>" -H "x-campaign-name: TEST_CAMPAIGN" -H "x-session-name: TEST_SESSION" -H "x-description: DESCRIPTION" -H "x-tags: cc13,test" -H "x-notify-email: user@company.com" --form file=@/data/file.filehttp://URL

Also this would help on a little script that I am hoping to release at some point. Given the number of curl examples on the internet made a parser that will generate a vi from a curl example. 

0 Kudos
Message 1 of 1
(817 Views)