LaCava Research Wiki

Initiated September 2017

WebServer API: Get File

2nd October 2018 at 8:43am

Get the content of a static file. See using the integrated static file server

GET /files/<pathname>

Parameters:

  • pathname - URI encoded path to the file

Response:

  • 200 OK
    Content-Type: <content-type> (determined from file extension)
    Body: data retrieved from file
  • 403 Forbidden
  • 404 Not Found