# Stream create,update,delete in php without using REST API

**URL:** <https://community.wowza.com/t/stream-create-update-delete-in-php-without-using-rest-api/50710>\
**Category:** Wowza Streaming Engine\
**Created:** [February 6, 2018, 1:56pm UTC](https://community.wowza.com/t/stream-create-update-delete-in-php-without-using-rest-api/50710 "2018-02-06T13:56:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayuri\_pardeshi](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mayuri\_pardeshi](https://community.wowza.com/u/mayuri_pardeshi)\
**Post date:** [February 6, 2018, 1:56pm UTC](https://community.wowza.com/t/stream-create-update-delete-in-php-without-using-rest-api/50710/1 "2018-02-06T13:56:42Z")

</div>

I am trying to implement wowza api.

I have found a REST API for that.

But I need to implement it using simple curl request.

Please provide me possible parameter list to be passed to curl api for ctreation,updation and deletion of stream

---

<div class="post-metadata">

**Author:** ![john\_mcqueen](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@john\_mcqueen](https://community.wowza.com/u/john_mcqueen)\
**Post date:** [February 10, 2018, 1:29pm UTC](https://community.wowza.com/t/stream-create-update-delete-in-php-without-using-rest-api/50710/2 "2018-02-10T13:29:42Z")

</div>

You will **have to** use the REST API to do that. You can use curl to send requests to the API or you can use the PHP wrapper Wowza provides (which is just an abstraction from sending curl requests).

There are examples to get you started [here](https://www.wowza.com/docs/live-sources-query-examples).

---

<div class="post-metadata">

**Author:** ![mayuri\_pardeshi](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mayuri\_pardeshi](https://community.wowza.com/u/mayuri_pardeshi)\
**Post date:** [February 15, 2018, 4:31pm UTC](https://community.wowza.com/t/stream-create-update-delete-in-php-without-using-rest-api/50710/3 "2018-02-15T16:31:07Z")

</div>

I am trying with

[http://162.244.81.72:8087/v2/servers/](http://162.244.81.72:8087/v2/servers/)_defaultServer_/publishers -d’ { “appName”: “live”, “password”: “123”, “name”: “mm”, “serverName”: “ppsource”, “description”: “”, “version”: “1446125518000” }’

and its responding as

{ “success”: false, “wowzaServer”: “4.7.4”, “message”: “The server encountered an unexpected condition which prevented it from fulfilling the request”, “code”: “500” }

Need to know what actually I have missed.

Would be greatful if I get parameters for stream create
