Send Post Data: How to get uploads

  • nmhg
    Asked on June 27, 2017 at 7: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 ? 

  • Mike
    Replied on June 27, 2017 at 9: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.

  • nmhg
    Replied on June 29, 2017 at 2:38 PM

    Ohh got it, thank you so much.