I have a webAPI which will receive the document from external system in binary format, but for file size around 25 MB, the API is taking more than 25 seconds.Is there any way we can increase the API performance by reducing the time taken by it?Thanks in advance.
Discussion posts and replies are publicly visible
If the Web API is taking more time during document download, it might be helpful to review how the document is being returned in the response. Sometimes delays happen if additional processing or conversions are happening before sending the file back. Returning the document directly in the response body and avoiding extra logic can reduce the response time. Also check if the document size or network latency between the client and Appian is contributing to the delay.
You may also find this related discussion useful where developers talk about downloading documents via Web API using document IDs: https://community.appian.com/discussions/f/integrations/26315/visit-web-api-to-download-document-using-document-id