Is there a way POST data to 3rd party API without redirecting the Thank You page?

  • VijayKondamudi
    Asked on October 9, 2019 at 9:42 AM

    I have a form with few fields and a submit button. When i hit submit button, have to send all fields information to a REST API POST Method. Instead of a redirect to that API i want to display thank you page.

    In thank you page i do see redirect to external link, i gave my REST API but when tested after submit it is redirecting to the domain which i have add.

    Please suggest a solution and TIA


  • Ivaylo JotForm Support
    Replied on October 9, 2019 at 10:27 AM

    Regarding your concern, you may refer to our API documentation for further reference: https://api.jotform.com/docs

    Also, you may send an email to our API Team. So, they could provide you further information about your concern. Here's the email: api@jotform.com


  • VijayKondamudi
    Replied on October 10, 2019 at 12:38 PM

    @Ivaylok Thanks for the reply. I went through https://api.jotform.com/docs these are more into JotForm API but i am talking about a Custom API created by 3rd party(or us). 

    I want to display Jotform Thank you page and send the data from form to Custom API. I did send an email to api@jotform.com yesterday but never heard anything back yet.

    You can see a sample here https://form.jotform.com/92795711241156. when you click on submit button it is redirecting to 3rd party domain. But i am expecting it to stay and display Thank You page and parallel just POST data to 3rd party API

  • AndrewHag
    Replied on October 10, 2019 at 1:45 PM

    HTTP Post method is a way for you to send data or your submission on a target endpoint where it can be received.

    How-to-Post-Submission-Data-to-Thank-You-Page

    I would suggest you to try WebHooks integration that will allow you to send POST data without redirecting the "Thank You" page, here's a guide about it: How-to-Setup-a-Webhook-with-JotForm