# REST API start up stream example

**URL:** <https://community.wowza.com/t/rest-api-start-up-stream-example/45471>\
**Category:** Wowza Developer Dojo\
**Created:** [October 26, 2015, 3:43pm UTC](https://community.wowza.com/t/rest-api-start-up-stream-example/45471 "2015-10-26T15:43:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Yu\_Han](https://avatars.discourse-cdn.com/v4/letter/y/ccd318/32.png) [@Yu\_Han](https://community.wowza.com/u/Yu_Han)\
**Post date:** [October 26, 2015, 3:43pm UTC](https://community.wowza.com/t/rest-api-start-up-stream-example/45471/1 "2015-10-26T15:43:35Z")

</div>

I did the following request use REST API, but it returns this error: The server encountered an unexpected condition which prevented it from fulfilling the request.

I am quite not so sure what to write in two restURI. Helps please.

{

“restURI”: “[http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/startupstreams”,

“serverName”: “”,

“saveFieldList”: [

“”

],

“version”: “”,

“Streams”: [

{

“restURI”: “[http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/startupstreams”,

“mediaCasterType”: “rtp”,

“instance”: “”,

“serverName”: “”,

“saveFieldList”: [

“”

],

“version”: “”,

“streamName”: “main2.stream”,

“applicationName”: “544299-1”

}

]

}

---

_[View the full topic](https://community.wowza.com/t/rest-api-start-up-stream-example/45471)._
