How to Send Submission Data Using a POST Request

January 4, 2025

Using HTTP POST for form submissions allows you to send data to a server, custom thank-you page, or third-party service. To connect your forms with other platforms, set up your form to redirect to an external page or endpoint that supports HTTP POST, and enable the Redirect with HTTP POST setting to include submission data. This ensures secure, efficient transmission for tasks, like automated processing, data analysis, or personalized responses.

Setting Up Classic Forms for POST Submission

To set up your form for sending submission data via HTTP POST to the redirect page, follow these steps:

  1. In Form Builder, click on the Settings tab.
  2. Then, click on the Thank You Page tab on the left side of the page.
Thank You Page tab in Jotform Form Builder Settings
  1. In the Thank You Page Settings on the right, select Redirect to an external link after submission. See How to Redirect Users After Submission.
  2. Type or paste your endpoint URL (e.g., https://www.example.com/thank-you-page.php) into the Enter URL setting.
  3. Then, toggle the Redirect with HTTP POST setting to the On position.
Redirect with HTTP POST option of the Thank You Page settings in Jotform Form Builder

Note

The changes you make in the Form Builder are saved automatically.

Configuring Card Forms for POST Submission

Enabling HTTP POST data for the Thank You page or an external page is set up differently for forms in the Cards layout. Follow these steps to enable it in the Form Settings:

  1. In Form Builder, go down to the last field in your form and click on the Edit Thank You Page button at the bottom.
Edit Thank You Page button of the Jotform Cards Form Builder
  1. In the Thank You Page Settings, select Redirect to an external link after submission. See How to Redirect Users After Submission in Jotform Cards.
Redirect to an external link after submission option in the Thank You Page Settings of Jotform Cards Form Builder
  1. Then, type or paste your endpoint URL (e.g., https://www.example.com/thank-you-page.php) into the Redirect submitters to an external link setting.
Redirect submitters to an external link setting in the Thank You Page Settings of Jotform Cards Form Builder
  1. After that, click on the Settings tab at the top.
Settings tab of the Jotform Cards Form Builder
  1. Now, click on Show More Options.
Show More Options button in the Form Settings tab of the Jotform Cards Form Builder Settings
  1. In the Form Settings menu, scroll down and select Enabled in the Send Post Data dropdown menu.
Enabled Send Post Data setting in the Form Settings menu of the Jotform Cards Form Builder Settings

And that’s it. Once set up, your form will send data via HTTP POST and redirect users to the specified endpoint URL after submission. You can then process the data however you need, such as displaying a custom message or saving it to a MySQL database using PHP for further use.

See also:

If you want to check what will be sent as POST data to your external page, see How to View Submissions as POST Data.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Lars - Profile picture
  • RAW 25:35 - Profile picture