Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get images as answers to questions #41

Open
lieberk2-hd opened this issue Feb 28, 2024 · 0 comments
Open

How to get images as answers to questions #41

lieberk2-hd opened this issue Feb 28, 2024 · 0 comments

Comments

@lieberk2-hd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant