# Curl commands for facebbok rest api?

**URL:** <https://community.wowza.com/t/curl-commands-for-facebbok-rest-api/53848>\
**Category:** Wowza Streaming Engine\
**Tags:** rest-api\
**Created:** [August 23, 2019, 2:47pm UTC](https://community.wowza.com/t/curl-commands-for-facebbok-rest-api/53848 "2019-08-23T14:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johhn\_test](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@johhn\_test](https://community.wowza.com/u/johhn_test)\
**Post date:** [August 23, 2019, 2:47pm UTC](https://community.wowza.com/t/curl-commands-for-facebbok-rest-api/53848/1 "2019-08-23T14:47:20Z")

</div>

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/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/testlive \ -d’ { “restURI”: “[http://localhost:8087/v2/servers/](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/](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

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 23, 2019, 8:09pm UTC](https://community.wowza.com/t/curl-commands-for-facebbok-rest-api/53848/3 "2019-08-23T20:09:49Z")

</div>

Here is an example you can try:

**[http://yourip:8087/v2/servers/](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](https://www.wowza.com/support/open-ticket)
