# Custom Script XML reponse \<dfapi\> \</dfapi\> tags

**URL:** <https://community.dreamfactory.com/t/custom-script-xml-reponse-dfapi-dfapi-tags/2319>\
**Category:** REST API\
**Created:** [March 4, 2016, 10:20pm UTC](https://community.dreamfactory.com/t/custom-script-xml-reponse-dfapi-dfapi-tags/2319 "2016-03-04T22:20:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmontes](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jmontes](https://community.dreamfactory.com/u/jmontes)\
**Post date:** [March 4, 2016, 10:20pm UTC](https://community.dreamfactory.com/t/custom-script-xml-reponse-dfapi-dfapi-tags/2319/1 "2016-03-04T22:20:46Z")

</div>

Hi

I create a custom xml script , for process post requests.

use

Accept: text/xml  
Content-Type: text/xml  
and develop version of dreamfactory (production version has bug “Invalid XML Payload Supplied”)

this is how my script response looks :

```
> <?xml version="1.0" ?><dfapi>
> <stuMessages></stuMessages>
> </dfapi>

```

its to possible remove the … tags in the xml response ?

Regards
