Wowza Community

Curl Command for Ultra Low latency - Windows

I’m a total beginner using Curl commands - need urgent help!

I’m running it using Windows Command prompt ConEmu:

C:\Users\User>curl -H “wsc-api-key: aaaa” ^

More? -H “wsc-access-key: aaaa” ^

More? -H “Content-Type: application/json” ^

More? -X “POST” “https://api.cloud.wowza.com/api/v1.2/stream_targets/ull” ^

More? -d {“ull_stream_target”: {“name”: “ULLStream”,“source_delivery_method”: “push”,}}’

Error here:

{“meta”:{“status”:400,“code”:“ERR-400-InvalidJSON”,“title”:“Invalid JSON Error”,“message”:“The JSON data you tried to push isn’t valid. 822: unexpected token at ’ {name: ^ curl: (3) URL using bad/illegal format or missing URL curl: (3) unmatched close brace/bracket in URL position 6: push,}}’ ^{ull_stream_target:’”,“description”:"",“links”:[]}}curl: (3) unmatched brace in URL position 1: {replace1} {replace2} {replace3} {replace4} {replace5} {replace6}

Thanks for using the forums @Sean Teo and I think I have a video that may help you with the correct format. Let me know if this helps you. It gives examples of the CURL command for ULL.

https://www.wowza.com/blog/the-api-for-speed-ultra-low-latency-steaming-for-developers

Also, be sure to experiment and copy and paste code from the Cloud Sandbox.

-just make sure you remove “sandbox” when you paste any code.

https://sandbox.cloud.wowza.com/