Downloading file using API request

Is it possible to download the file using API request with Katalon?

I’m sending the request to API and parse the json file returned in the response.
One of the json fields is URL that downloads the file.
When I open that URL in the browser, it automatically downloads the file, but when I pass this URL to ReqObj and sending the GET request directly, nothing happens.

You have to write the response to file.

https://api-docs.katalon.com/com/kms/katalon/core/testobject/ResponseObject.html#getBodyContent()

https://api-docs.katalon.com/com/kms/katalon/core/testobject/HttpBodyContent.html#writeTo(java.io.OutputStream)

looks similar to the following post: