Workspace

Downloads a file as it is, however large

Always sent as bytes to save, whatever the name of the file says, so a page somebody uploaded never runs on this site.

get/lambdas/{privateKey}/files/{path}/content

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/files/{path}/content
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

pathstring required

The path within the workspace, sent as one segment with its slashes encoded: logs%2Ftoday.txt

Response

The bytes of the file

Changes

No recorded changes to this operation across all 1 revision of this API.