Skip to main content

GET /uploads

Description

Gets the requested binary file from the server

The route handles the HTTP GET request made to the /uploads/{id}/{name} path.

Path parameters

The following parameters are sent in the request line:

NameTypeDescription
idnumberRequired. The ID of the required file.
namestringRequired. The name of the requested file.

Payload

No payload is required.

Response

The route returns the requested binary file.

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: Working with server