This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

WebServer API: Get File

 2nd October 2018 at 12:43pm

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