Page 1 of 1

Curl Switch Script Example

Posted: Tue Jul 20, 2021 5:52 pm
by Farva
Does anyone have a example of a Switch script to execute a curl command? Below is my Curl i need to execute. I have had success trying to create my own.

curl --location --request PATCH 'https://somewebsite.com/fmi/data/v1/dat ... /records/6' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 18cfbff76b81ec11ac6239041444fa618d2c89328ae0f3c6b6f0' \
--data-raw '{"fieldData": {
"Status": "2"
}
}'

Re: Curl Switch Script Example

Posted: Wed Jul 21, 2021 5:17 pm
by Farva
Or maybe A script that does the HTTP call and not necessarily using curl?

Re: Curl Switch Script Example

Posted: Wed Aug 25, 2021 3:06 pm
by foxpalace
Hi,
look at the first posting of this forum - sorry page :)
viewtopic.php?f=26&t=3959