Compose and repeat

Build a request from scratch, replay a captured one with edits, or repeat it many times and read the results.

Mac iPhone and iPad

Compose sends requests you write. Repeat sends a captured request again, as it was or with changes. Both go through WireLens, so when capture is running the new request appears in the traffic list and every rule you have applies to it.

Compose a request#

On the Mac, press ⌘N for a new Compose request, or ⇧⌘N to open the Compose window. Its sidebar keeps every request you build, each with its last response, so you can search, rename and come back to a set of calls. The same window can open a WebSocket session.

Set the method, URL, headers and body, and send. The response opens next to it with the same viewers as the inspector. Presets fill in common headers, the method can be any verb your API uses, and the request timeout can be switched off for slow endpoints.

Other ways in:

  • Compose from a flow. Start from any captured request, with its headers and body filled in.
  • Import cURL. Copy a curl command and choose Import cURL into Compose. WireLens reads the method, URL, headers and body from it.

On iPhone, Compose is under Tools, and it can import a curl command from the clipboard too.

Edit and repeat#

Select a flow and choose Edit & Repeat. The request opens as a raw HTTP document that you can change, line by line, before sending it again.

  • Attempts. Send it once, or many times.
  • Concurrency. How many attempts may run at once.
  • Credentials. Captured cookies and Authorization ride with every attempt; switch this off to strip them.

Results arrive as attempts complete: how many succeeded and failed, a count per status, and the fastest, slowest and mean duration. It is a quick way to reproduce a rate limit or a race.

WireLens recomputes Content-Length and drops hop-by-hop headers when it sends, so an edited body never goes out with a stale length. The captured repeat is linked to the original flow, and Diff Against Previous Repeat compares the two.

On iPhone, long-press a flow and choose Edit & Resend.

Copy as code#

Instead of sending it again, take it elsewhere. Copy as cURL (⇧⌘C) copies any flow as a curl command, and code generation writes it for HTTPie, fetch, axios, jQuery, Node, Swift URLSession, Alamofire, Moya, Python requests and httpx, Go, Java, Kotlin, Dart, Objective-C, PHP or Rust, or as a Postman collection or HAR.

Free and Pro#

The free plan keeps two Compose requests. Pro removes the limit.

From MCP#

send_request sends a new request and replay_flow resends a captured one with overrides. Both travel through the live listener: if a send succeeds but no row appears, capture was not running and the request went straight to the server.

Something here is unclear, or wrong for your setup? Contact support or write to support@wirelens.app.