Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andrelecomte

    (@andrelecomte)

    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

    (@andrelecomte)

    Zaus graciously helped answer this request on GitHub.

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

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