Create a Response object

POST {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/response_object

Creates a new Response Object.

Authorization: API token with at least Engineer permissions.

Request Body

{"name"=>"My 404 Handler", "status"=>"404", "response"=>"Not Found", "content"=>"This page was not found.", "content_type"=>"text/html", "request_condition"=>"myRequestConditionName", "cache_condition"=>"myCacheConditionName"}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring