I tried to login with an application having captcha. In get method response body, the captcha is displayed in jpeg format. How to save the captcha image in my local drive from response body
Hey @sharmisrujan
Welcome to the Postman community!
On the Send
button, thereโs a drop down with a Save and Download
option - would that help you out here?
Tq for ur immediate responseโฆ but i want to do by script to run whole collection. Any idea
It wouldnโt be possible to do this via a script in the sandbox environment but you could probably achieve that using Newman.
You could create a Newman script that runs the request and downloads the file to your file system.
These are some example of writing files to disk that could be adapted for your usecase.
Thanks !! @danny-dainton. Will try in newman script. Is it possible to handle captcha with this?
Youโre welcome - It depends what you mean by handle captcha?
This would only download the response as a file on your local file system.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.