# Server-Side API examples for Stream Target

**URL:** <https://community.wowza.com/t/server-side-api-examples-for-stream-target/47196>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [June 23, 2016, 5:52pm UTC](https://community.wowza.com/t/server-side-api-examples-for-stream-target/47196 "2016-06-23T17:52:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Barrios](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@Jorge\_Barrios](https://community.wowza.com/u/Jorge_Barrios)\
**Post date:** [June 23, 2016, 5:52pm UTC](https://community.wowza.com/t/server-side-api-examples-for-stream-target/47196/1 "2016-06-23T17:52:39Z")

</div>

Hi, I am trying to programmatically configure, in Streaming Engine, a Stream Target to push a stream (HLS) to Wowza Cloud. Assuming that I have already obtained the Connection Code from Wowza Cloud, how would I go about doing this? I’ve looked at the pushpublish classes, but didn’t find it clear if this is possible with those. I could use the REST API, but I would prefer not to.

Thank you,

Jorge

---

<div class="post-metadata">

**Author:** ![Joe\_Bray](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Joe\_Bray](https://community.wowza.com/u/Joe_Bray)\
**Post date:** [July 1, 2016, 1:17pm UTC](https://community.wowza.com/t/server-side-api-examples-for-stream-target/47196/2 "2016-07-01T13:17:02Z")

</div>

why wouldn’t just send RTMP to the wowza cloud and have them perform the segmentation? However, I have had a look at the IDE solution and the example given shows only how to write to local disk and not to perform any type of http push/put. Could the wowza engineering folk please expose that as way of example. I mean the purpose of push publish is rarely to write something to local disk.

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [July 27, 2016, 1:53pm UTC](https://community.wowza.com/t/server-side-api-examples-for-stream-target/47196/3 "2016-07-27T13:53:38Z")

</div>

Hi,

As the previous poster stated I would use RTMP to push to Wowza Streaming Cloud.

Regarding the IDE solution, can you link me to that one?

Thanks,

Paul
