capabilities.work

Replace a mock's rules

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

Get something done

Replace a mock's rules

Works with AI assistants

Use Ironfang: its Ironfang Rig Resources API lets you replace a mock's rules in a single step (PUT /v1/runs/{runId}/resources/{resourceId}/mock). Ironfang also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I change what a mock HTTP endpoint replies with during a run?
  • What happens if no mock rule matches?
Say it to your AI assistant
  • Replace the rules of mock {resourceId} in run {runId} with {rules}.
  • Update mock {resourceId} on run {runId} to answer {rules}.
For your developer

PUT /v1/runs/{runId}/resources/{resourceId}/mock in Ironfang Rig Resources API. Full spec on APIs.io.