Downloading document file content
I can download file content using postman. When file is big it's ask me the location where I should download. Is there a possibility to automate the process and tell the location through rest api.
That's not how HTTP works. You're confusing client-side processing and server-side processing.