Get a custom VCL file with syntax highlighting

GET {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/vcl/{{vcl_name}}/content

Get the uploaded VCL for a particular service and version with HTML syntax highlighting. Include line numbers by sending lineno=true as a request parameter.

Authorization: API token with at least Engineer permissions.

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Acceptstring