# HTTPResponse Wowza IDE

**URL:** <https://community.wowza.com/t/httpresponse-wowza-ide/93598>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api\
**Created:** [July 26, 2021, 11:11am UTC](https://community.wowza.com/t/httpresponse-wowza-ide/93598 "2021-07-26T11:11:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julia\_M](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@Julia\_M](https://community.wowza.com/u/Julia_M)\
**Post date:** [July 26, 2021, 11:11am UTC](https://community.wowza.com/t/httpresponse-wowza-ide/93598/1 "2021-07-26T11:11:56Z")

</div>

Hi,  
In Wowza IDE I use a request that takes the streamName to the URL and gets a license key in the response. I would like to get this key which is in JSON format and use it in DRM encryption. I know that I can use IHTTPResponse but I don’t know how to use it to get a response that I will convert to a string and use to set in cencInfo. This is my code:

String post\_data = streamName;

Gson gson = **new** Gson();

String jsonString = gson.toJson(post\_data);

System. _ **out** _ .println(jsonString);

String server\_url = “my\_url”;

HTTPUtils. _HTTPRequestToByteArray_ (server\_url, “POST”, jsonString, **null** );

---

<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:** [July 26, 2021, 5:56pm UTC](https://community.wowza.com/t/httpresponse-wowza-ide/93598/2 "2021-07-26T17:56:55Z")

</div>

Julia I would submit a support ticket if you don’t get an answer in here. That’s advanced code as I mentioned to you before and I don’t have any examples to share with you unfortunately. But, perhaps a wowza engineer could assist and they do not monitor the forums- only in official support tickets. I’d like to see you get some help!

You could also try our public slack channel with streaming devs from around the world. You can join here and then ask in the dev channel.

> **[The Wowza "LiveStreaming" Slack Group](https://www.wowza.com/community/t/the-wowza-livestreaming-slack-group/95725)**
>
> Greetings and welcome to the Wowza Forums! You may be wondering what happened to the Wowza “LiveStreaming” Slack Group, at the end of 2022 the decision was made to retire that medium and consolidate all of the insightful information and great...
