Here's a REST API that I am trying for downloading data as CSV file. (function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { …