# http provider

**URL:** https://community.wowza.com/t/http-provider/48102
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [February 6, 2017, 1:47pm UTC](https://community.wowza.com/t/http-provider/48102 "2017-02-06T13:47:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ibrahim\_Moreno](https://avatars.discourse-cdn.com/v4/letter/i/76d3ee/32.png) [@Ibrahim\_Moreno](https://community.wowza.com/u/Ibrahim_Moreno)
#### Post date: [February 6, 2017, 1:47pm UTC](https://community.wowza.com/t/http-provider/48102/1 "2017-02-06T13:47:09Z")

</div>

We already have an Http Listener plugin for Wowza. I want it to receive a POST request with content-type “file/png” which must end up in the content/\<app\_name\> directory for the instance. I am kind of at a loss on how to do this, though. I have never handled post requests containing file/png, only json. How would I go about doing this? For instance, would the method getParameterMap() return something like {“file” = }? If so, then I guess I could create the file simply by using instanceOfMap.get(“file”) in the appropriate directory (which I could get by combining appInstance.getVHost().getHomePath() and appInstance.getApplication().getName(), and just adding “content/” in between). Or am I thinking about this the wrong way?
