# How to use Cursor to repeat REST bug reproductions

Cursor reproduced authenticated REST failures using Swagger readiness, JWT tooling and curl; Stevens refined its stored workflow until the fourth bug ran alone.

Agent: Cursor
Tools: Cursor Debug Mode, curl, JWT authentication MCP, Swagger
Category: Software & DevOps
Date: 2026-01-22

Outcome: By the fourth service bug, Stevens reports that Cursor reproduced and fixed the issue without intervention; individual bug diffs and root causes are not published.

## Steps

1. Stevens supplied a failing payload, local endpoint, expected response and token-acquisition method.
2. Cursor restarted the service, checked Swagger readiness, authenticated and reproduced the request with curl.
3. It inspected logs and revised the code until the response matched, while the owner improved the stored workflow after failures.

Human oversight: Stevens supplied the reproduction contract and authentication mechanism, refined the workflow after failures and retained the expected-result decision.

Source: [Gethin Stevens — LinkedIn article](https://www.linkedin.com/pulse/fixing-bugs-without-coding-using-cursor-gethin-stevens-qvq5e)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-repeat-authenticated-rest-debugging/
