Curl Switch Script Example

Post Reply
Farva
Newbie
Posts: 7
Joined: Wed Jul 07, 2021 11:14 pm

Curl Switch Script Example

Post 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"
}
}'
Farva
Newbie
Posts: 7
Joined: Wed Jul 07, 2021 11:14 pm

Re: Curl Switch Script Example

Post by Farva »

Or maybe A script that does the HTTP call and not necessarily using curl?
User avatar
foxpalace
Member
Posts: 33
Joined: Fri Jan 14, 2011 12:25 pm
Location: Germany

Re: Curl Switch Script Example

Post by foxpalace »

Hi,
look at the first posting of this forum - sorry page :)
viewtopic.php?f=26&t=3959
Post Reply