Trying to POST form data to an external url

  • Profile Image
    Asked on May 19, 2017 at 09:50 AM

    Hi - did you recently change the format of the POST body?

    This used to work differently (Fall of 2016), and now it looks like everything's coming in just like query parameters (inside the POST body!).

    For example I got this as a POST body:


    Is this what you intended or did I do something wrong?

    I can work with this, but will have to URL decode, change my parsing etc.

    If so, that's fine, but can you assure me that you are (hopefully) going to keep the format this way? (Please!)


    Jade Green


  • Profile Image
    Answered on May 19, 2017 at 11:47 AM

    Not sure if format changed, we didn't have such reports recently. I tested the show post data option and this is the response I got and format of the post data:

    Could you please show us response from your form, here is the URL that you should place in your Thank you page:

    We will wait for your response.

    Thank you!

  • Profile Image
    Answered on May 19, 2017 at 12:49 PM

    Do you have any option to POST as JSON?

    Here's what came in from your show-post-data page.

    However this is NOT the raw POST body it has already been parsed and processed.

    The raw POST data is as I showed above.

     Data Submitted:

    Array ( [submission_id] => 3710214797598100061 [formID] => 62568855409166 [ip] => [chooseusername] => texas [name] => Array ( [0] => tex [1] => texan ) [address] => Array ( [0] => 19 sailor lane [1] => [2] => cheyenne [3] => WY [4] => [5] => United States ) [email] => )

    PHP Code:

  • Profile Image
    Answered on May 19, 2017 at 02:15 PM

    Hello yonatron,

    Form's POST data is not as JSON object. The output you see by using the sample URL "show-post-data" seems to be parsed but you are anyway not gong to use this in your live form. You will have to write your own PHP server side code to read the POST data.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!