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}