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 » Tue Jul 20, 2021 5:52 pm

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 » Wed Jul 21, 2021 5:17 pm

Or maybe A script that does the HTTP call and not necessarily using curl?

foxpalace
Member
Posts: 26
Joined: Fri Jan 14, 2011 12:25 pm

Re: Curl Switch Script Example

Post by foxpalace » Wed Aug 25, 2021 3:06 pm

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

Post Reply