# REST Api createApplication with HTTPStreamer properties

**URL:** https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418
**Category:** Wowza Developer Dojo
**Created:** [September 28, 2015, 2:57am UTC](https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418 "2015-09-28T02:57:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [September 28, 2015, 2:57am UTC](https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418/1 "2015-09-28T02:57:50Z")

</div>

Hello,

When I create a new application with Rest API, I want to setup HTTPStreamer properties like these properties in the Application.xml of my application

[HTML]

httpOriginMode

on

String

cupertinoCacheControlPlaylist

max-age=1

String

cupertinoCacheControlMediaChunk

max-age=3600

String

[/HTML]

I try a GET for retrieve informations about an existing application (which already has these properties) and there is no informations about this in the responses of the call.

---

<div class="post-metadata">

### Author: ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)
#### Post date: [September 28, 2015, 11:26am UTC](https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418/2 "2015-09-28T11:26:54Z")

</div>

Hello

You can get this information from the following endpoint:

GET /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/adv

Example cURL request:

```auto
curl -X GET --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/adv

```

The response will contain your properties as defined in your Application.xml:

```auto
...{"enabled":true,"canRemove":true,"name":"httpOriginMode","value":"on","defaultValue":"","type":"String","sectionName":"HTTPCacheOrigin","section":"/Root/Application/HTTPStreamer","documented":true},...

```

Thanks,

Matt

---

<div class="post-metadata">

### Author: ![Bouchard\_Julien](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@Bouchard\_Julien](https://community.wowza.com/u/Bouchard_Julien)
#### Post date: [September 29, 2015, 12:40am UTC](https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418/3 "2015-09-29T00:40:21Z")

</div>

Hello,

Thanks.

I test to update with POST and it works great !

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [October 8, 2015, 8:07am UTC](https://community.wowza.com/t/rest-api-createapplication-with-httpstreamer-properties/418/4 "2015-10-08T08:07:11Z")

</div>

Thank you for the update and glad to hear you got this working.

Regards,

Salvadore
