Endpoint to Return Static File
This type of syntax specifies that the response content is fetched from the named file within the static directory. Subdirectories such as
Variables are not allowed in the filename attribute. This is to prevent accidentally making more files accessible (if the client guesses the right filename) than intended. But you can use Conditional Success Action to deliver different files depending on different parameter values.
You can optionally add an attribute "download-filename".
download-filename="foo.pdf"attribute is present, then the header in the HTTP response is set indicating that the file should be downloaded as opposed to displayed in the browser window. Parameter Values like
<response-from-static filename="path-to-file" download-filename="my-document.pdf"/>