Skip to main content
⚠️ Archived Version

You are viewing documentation for Preflight version 1.26, which is no longer actively maintained. For the latest features and updates, please refer to the current version (2.0).

Get

To download a file from the server, you can get a file stream by the file's GUID using the following endpoint: GET ~/api/files/get/{GUID}

Required URL Param

GUID - a file identifier with an extension.

Example call

<embed src="http://example.com/pt/api/files/get/425a3537-2e59-450d-bbc2-484fcd3d63bd.pdf" type="application/pdf" width="800px" height="800px" />

In the following section, you can learn how to use this endpoint to perform the preflight check.

Success response

If the result is successful, this method returns the content of the file in a file stream.

Status Code: 200 OK
Content-type: application/octet-stream
Was this page helpful?