cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/files/pull \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "directory": "<string>", "filename": "<string>", "use_header": true, "foreground": true }'
[ "<string>" ]
Requests that a file be downloaded from a remote location by daemon.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
No content
The response is of type string[].
string[]