How to save base64 image code in Postman Get Script automatically to jpg and download to local drive

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Hereโ€™s an outline with best practices for making your inquiry.

My question:

How to save base64 image code in Postman Get Script automatically to jpg and download to local drive

Details (like screenshots):

I have a get command that I use to get the photo of a student and then retrieve the photo. I have the student ID as part of teh response back ad the image as base64, how can I convert the base code for the image as a jpg and download automatically, as part of my initial get GET script, or can you recommend another solution to use .

Thanks

How I found the problem:

Iโ€™ve already tried: