capabilities.work

Serve a synthetic response from the edge

One step with Fastly. We can help you get access.

Get something done

Serve a synthetic response from the edge

with Fastly

Use Fastly: its Fastly VCL Services Response Object API lets you serve a synthetic response from the edge in a single step (POST /service/{service_id}/version/{version_id}/response_object). capabilities.work can help you get signed up and connected.

  • How do I return a custom error page from the edge without hitting my origin?
  • Can I set a synthetic response with a status code and body?
Say it to your AI assistant
  • Create a response object named {name} returning {status} {response} with body {content}.
  • Add a synthetic response {name} to service {service_id} version {version_id} that runs when condition {request_condition}.
For your developer

POST /service/{service_id}/version/{version_id}/response_object in Fastly VCL Services Response Object API. Full spec on APIs.io.