This type of syntax specifies that an HTTP request is performed and the result of this request is streamed back to the client as the response of the call to Endpoints.
You can optionally add an attribute "download-filename".
If the download-filename="foo"
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 ${foo}
are replaced.
Potential Source of Error
Make sure that the filename does not contain empty characters, because this will raise an error.