"Redirect with HTTP POST" is not working when doing a submission via the Jotofrm Mobile App

  • miketheqs
    Asked on May 4, 2024 at 11:04 PM

    I have created a form which uses the "Redirect with HTTP POST" feature to send form data to a custom API endpoint, which then displays a confirmation page.

    However, this doesn't seem to work on the iOS app - the confirmation page never shows and the API doesn't process any data. Using in the Safari browser on iOS works fine however.

    Is the "Redirect with HTTP POST" supposed to be functioning correctly in the app?

  • Norwyn JotForm Support
    Replied on May 5, 2024 at 3:21 AM

    Hello miketheqs,

    Thanks for reaching out to Jotform Support. Can you share a screenshot of the entries not reflected on the API endpoint? Also, can you tell us the submission IDs of the affected entries not showing in the API endpoint? Let me show you how to locate it:

    1. On the Tables page of the form, click on the Column button on the top right.

    2. Scroll down to look for Submission ID and then put a checkmark on it.

    Redirect with HTTP POST is not working when doing a submission via the Jotofrm Mobile App Image 1 Screenshot 30

    3. Once done, the Submission IDs will be shown as a column.

    Redirect with HTTP POST is not working when doing a submission via the Jotofrm Mobile App Image 2 Screenshot 41

    The Redirect with HTTP POST is supposed to work if you do the submission using the Jotform Mobile App. Since it works on the web version of the form, please visit the App Store to check if there is an available update. If there is, please download and install it to make sure you have the latest version of the app. Once done, check if the same thing happens.

    Give it a try and reach out to us again how it goes.

  • cbing5828
    Replied on May 6, 2024 at 6:43 AM

     The "Redirect with HTTP POST" feature in JotForm is intended to work on both desktop and mobile devices, including iOS. However, there are some limitations and potential issues to consider when using this feature on mobile devices:

    1. Network requests: On iOS, JotForm uses the HTTP request headers to redirect the user to the specified URL. However, some mobile carriers may block or throttle theseTypes of requests, which could cause issues with the redirect.

    2. Token authentication: If your API requires token authentication, make sure that the token is included in the HTTP Authorization header of the POST request. On iOS, this can be tricky due to the limited support for HTTP headers in mobile apps.

    3. JSON serialization: When posting data to your API, make sure that the JSON data is properly serialized and sent in the request body. On iOS, this can be challenging due to the limited support for JSON serialization in mobile apps.

    4. sandbox mode: Apple's sandboxing feature can sometimes interfere with the redirection process. To avoid this issue, you can try setting the "sandbox" parameter to "true" in your API endpoint's configuration.

    5. Certificate issues: If your API uses SSL/TLS encryption, make sure that the certificate is properly configured and verified on the mobile device. On iOS, this can be a challenge due to the limited support for certificate management in mobile apps.

    To troubleshoot the issue, you can try the following steps:

    1. Check the JotForm log files for any error messages related to the redirect.

    2. Use the iOS debugging tools to inspect the HTTP request headers and body to ensure that they are properly formatted and included in the redirect.

    3. Test the API endpoint directly from a desktop browser to confirm that it is working correctly.

    4. Try setting the "sandbox" parameter to "true" in your API endpoint's configuration to see if this resolves the issue.

    5. If none of these steps resolve the issue, you can contact JotForm support for further assistance.  beach buggy racing 11th driver

  • wayne786ford
    Replied on May 6, 2024 at 8:05 AM

    The “Redirect with HTTP POST” feature should work in the Jotform Mobile App. If it’s not functioning correctly on iOS, ensure you have the latest app version. If the issue persists, consider using Safari on iOS for now, as it works fine there.

 
Your Answer