Search found 3 matches

by ron_ag
Mon Jun 17, 2019 5:23 pm
Forum: LEGACY scripting
Topic: Curl string syntax in 2018 r3
Replies: 4
Views: 8534

Re: Curl string syntax in 2018 r3

Hi, Sorry for the delay. I could not get that way to work. I did get the traditional way to work and its listed below. Note that the variable is now used instead of the hard coded value. var theString = "c:\\curl\\bin\\curl -i -H \"test-upp-api-key: 12345r6788\" -H \"test-upp-api...
by ron_ag
Thu May 23, 2019 7:53 pm
Forum: LEGACY scripting
Topic: Curl string syntax in 2018 r3
Replies: 4
Views: 8534

Re: Curl string syntax in 2018 r3

Thanks for your help.

I will try this to see if I can get this to work.

Ron
by ron_ag
Wed May 22, 2019 9:35 pm
Forum: LEGACY scripting
Topic: Curl string syntax in 2018 r3
Replies: 4
Views: 8534

Curl string syntax in 2018 r3

Hi, First time using Switch 2018. I am having issues with getting a curl string to work directly from Switch. Script fails with json syntax errors. BUT If I copy the message log field from the job.log of the "theString" to capture what Switch is passing to cmd The string works correctly wh...