Skip to content

How to get images as answers to questions #41

@lieberk2-hd

Description

@lieberk2-hd

I have a question like: vehicle_image5
When I read this with the getFormSubmissions api call I get back all the answers. But for the image I get back the data like:

{
    "widget_metadata": {
        "type": "imagelinks",
        "value": [
            {
                "name": "AC Cobra 6.jpg",
                "url": "/widget-uploads/imagepreview/123123123123/123AC_Cobra_665bffac78e450.jpg"
            }
        ]
    }
}

but how can I get to this image to download the jpg file while authorized by the API?
I know that the image is at https://files.jotform.com/jotformWidgets/imagepreview/123123123123/123AC_Cobra_665bffac78e450.jpg but of course I have no rights to wget or curl it directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions