Please install webapi packages and then use http request …pass the url in Request URL field…and you have a field Filename for response attachment which you can give a filepath and the response file is saved there
https://docs.uipath.com/lang-ru/activities/docs/http-client
Hope this helps
cheers