Skip to main content

GET /uploads

Description

Retrieves the specified binary file from the server

This route processes HTTP GET requests sent to the /uploads/{id}/{name} endpoint.

Path parameters

The following parameters are included in the request URL:

NameTypeDescription
idnumberRequired. The ID of the file to fetch.
namestringRequired. The filename to retrieve.

Payload

No payload is needed.

Response

The route responds with the requested binary file.

The HTTP status code indicates success (response.status == 200) or failure (response.status == 500).


Related articles: Working with server