Ansible Posted October 2, 2020 Report Share Posted October 2, 2020 I think I have nailed converting every other curl command to LV native. This one has me stumped and it should be real easy. 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.file http://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. Quote Link to comment
Rolf Kalbermatter Posted October 4, 2020 Report Share Posted October 4, 2020 On 10/2/2020 at 8:28 PM, Ansible said: I think I have nailed converting every other curl command to LV native. This one has me stumped and it should be real easy. 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.file http://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. Sorry I'm not a curl expert. So you could you explain a bit what all these parameters mean and which of them causes problems? Quote Link to comment
Ansible Posted October 19, 2020 Author Report Share Posted October 19, 2020 I ended up just using curl CMD which works on both linux and windows. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.