GET
/files/{filename}
Requires Auth
Serve file from project root
Serve files from the project root directory (for testing)
Parameters
filename
*
path
string
Filename in project root
Example:
large.pdf
Code Examples
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://nexus-api.dhurgham.dev/api/file-translation-api/files/large.pdf'
Example cURL Request
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://nexus-api.dhurgham.dev/api/file-translation-api/files/large.pdf'
frontend.example_response
{
"message": "Success"
}