In the response handling part of the REST call, choose Store in a file document
Joost Verhoog as picture
I can get correct file name and downlod. The last issue is for image file it automatic show on browser. I need to pop up show and save to file like .pptx file.
If you update the Name property of the fileObject that you save to the filename it should show correctly when downloading. Also check the $latestHttpResponse/httpHeaders objects for a “filename” header after making the request. It’s easier to see which headers are passed from the REST endpoint by making the request in postman first.
1- In Response handling Select Store in File Document
2-In Output select the Entity that is generalized to System.Filedocument
3-Provide variable name
4- Use change object Activity
5-At last use download file activity