Wowza Community

Curl commands for facebbok rest api?

Im trying to call the curl commands to see what i can do with the rest api to control the stream targets and stuff.

i got the git bash to display me all the application i have on wowza but now having issues to run some thing like this

curl --digest --user user:password - X POST \ -H ‘Accept:application/json; charset=utf-8’ \ -H ‘Content-Type:application/json; charset=utf-8’ \ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive \ -d’ { “restURI”: “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive”, “name”: “testlive”, “appType”: “Live”, “clientStreamReadAccess”: “", “clientStreamWriteAccess”: "”, “description”: “A basic live application”, “streamConfig”: { “restURI”: “http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamconfiguration”, “streamType”: “live” } }’

to make a new live application.

but the commands are not being recognised

@rose power-wowza community Manager

Here is an example you can try:

http://yourip:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/live/pushpublish/mapentries/myStream

This can be a bit difficult to navigate with the FB API requirements, so our FB workflow engineers can help you debug and get this set up correctly through a support ticket. It may get you up and running really quickly once they can view all your files and logs.

https://www.wowza.com/support/open-ticket