Send Post Data: How to get uploads

  • Profile Image
    nmhg
    Asked on June 27, 2017 at 07:30 PM

    Hello so if a I create a form with the upload files button and I want to do a HTTP POST of that image and have my asp.net webpage re direct pull the data, how will it pull the image. I got my webpage to pull all the form info but no idea how to get the image. What are my options ? 

  • Profile Image
    Mike
    Answered on June 27, 2017 at 09:19 PM

    With the HTTP Post data you will get a file name only. However, since you know the file name you can generate a file download link to download the file to your server.

    The download link has the following structure:

    https://www.jotform.com/uploads/{account_name}/{formID}/{submission_id}/{filename}

    {formID}, {submission_id} and {filename} are provided with the post data.

    Example:

    https://www.jotform.com/uploads/Mike/71778143806968/3744212136747465085/img.png

    Thank you.

  • Profile Image
    nmhg
    Answered on June 29, 2017 at 02:38 PM

    Ohh got it, thank you so much.