My service call returns the image.
It returns the png image and it has content-type in header as image/jpeg , it opens the image in the same page. I want to give the option to the user to save this image to the disk.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need
Content-Dispositionheader in server’s responseFor example