Title: Post XML string?
Last modified: August 22, 2016

---

# Post XML string?

 *  Resolved [andrelecomte](https://wordpress.org/support/users/andrelecomte/)
 * (@andrelecomte)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-xml-string/)
 * I love these plugins and was happy to find the XML nesting feature. Thank you
   for your great development!!
 * Is it possible to post parameters like this?:
 * `XMLString: <?xml version="1.0" encoding="UTF-8"?><name>John</name>`
    `ResponseType:
   StatusCode`
 * [https://wordpress.org/plugins/forms-3rd-party-xpost/](https://wordpress.org/plugins/forms-3rd-party-xpost/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [andrelecomte](https://wordpress.org/support/users/andrelecomte/)
 * (@andrelecomte)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-xml-string/#post-5691033)
 * I want to send the nested XML construct as a value for one field. Could I somehow
   use a hook or modify `forms-3rdparty-integration.php` or `forms-3rdparty-xpost.
   php` so this is added to the start of the POST body?: `ResponseType=StatusCode&
   XMLString=`
 * `XMLString` is the form field where the 3rd-party service expects to receive 
   all the XML data. `ResponseType` is another form field that allows a choice between
   either a “Status Code Response” or an “XML Response” from the submission URL.
   Is it possible to POST one field (ie., `XMLString`) that contains all the form
   submission data?
 * Currently the raw body of my POST starts like this:
    `%3C%3Fxml+version=%221.0%
   22`
 * However, I think it needs these static parameters added at the start:
    `ResponseType
   =StatusCode&XMLString=%3C%3Fxml+version%3D%221.0%22`
 *  Thread Starter [andrelecomte](https://wordpress.org/support/users/andrelecomte/)
 * (@andrelecomte)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-xml-string/#post-5691074)
 * [Zaus](https://profiles.wordpress.org/zaus/) graciously helped answer this request
   on [GitHub](https://github.com/zaus/forms-3rdparty-xpost/issues/5).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post XML string?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/forms-3rd-party-xpost.svg)
 * [Forms: 3rd-Party Xml Post](https://wordpress.org/plugins/forms-3rd-party-xpost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forms-3rd-party-xpost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forms-3rd-party-xpost/)
 * [Active Topics](https://wordpress.org/support/plugin/forms-3rd-party-xpost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forms-3rd-party-xpost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forms-3rd-party-xpost/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [andrelecomte](https://wordpress.org/support/users/andrelecomte/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/post-xml-string/#post-5691074)
 * Status: resolved