Sending ForceEvents Via API & cURL
You can create the request using cURL, see the below example to send a stop command to device 5 which was an encoder in our case. Note the device action in the raw json data and the ID of the device.
The username and password is a cablecast user. This should force cURL to use http basic auth.
curl 'https://eng-demo.cablecast.tv/cablecastapi/v1/forceevents' \
-u username:password \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data-raw '{"forceEvents":[{"deviceAction":{"device":"5","action":"stop","output":null}}]}'
Take a look at this video to see how to generate additional commands and test sending your own cURL commands from your browser right here - https://reqbin.com/curl