Exporting via API
AnsweredI have tried quite hard but I can't export.
On my linux desktop I run
curl --insecure -X GET "https://192.168.15.45:7001/hls/66b419ef-3afd-366b-9e3a-8892fa0e30ca.ts?pos=2023-03-14T12%3A10%3A00&duration=20&hi=true" -H "accept: */*" -H "Authorization: Bearer vms-5c6cf14934fjaye4d547591fgw72c8b64-gOTr6Zprps"
But nothing happens :-(
I am trying to grab a clip and down load it as a file to save on a server when a certain event happens.
An ideas what I am doing wrong?
TIA
Simon
-
Hi Simon Faulkner,
Could you kindly provide us with the terminal output after sending the API?
I noticed two things that need to be corrected based on your command.
- The time format contains the HTTP URL encoding.
Please replace the "%3A" with a colon ":".
- Specify the output filename
Add the --output <filename> to your command.
Additional information:
Since you the bearer authentication token has an expiration time, please ensure you get and use the validated token with your API request.
Please don't hesitate to let us know if you have any further questions or concerns.
Thank you. - The time format contains the HTTP URL encoding.
Please sign in to leave a comment.
Comments
2 comments