Inspectors

HTTP Request Analyzer

Paste a raw HTTP request or a cURL command and get a structured breakdown: method, URL, path, query parameters, headers, and body. The tool also generates equivalent code snippets in multiple languages (fetch, Python requests, axios, HTTPie). Useful for debugging API calls, understanding what a cURL command actually does, or converting a request to code.

HTTP Request Analyzer — Parse raw HTTP requests or cURL commands — breakdown method, URL, headers, body, and generate code snippets

What it does

  • Parses raw HTTP requests (GET /path HTTP/1.1 + headers + body)
  • Parses cURL commands into their components
  • Breaks down method, URL, path, query params, headers, and body
  • Generates code snippets in fetch, Python requests, axios, and HTTPie
  • Detects GraphQL requests (query, variables, operation name)
  • Handles multipart form data and JSON bodies

Use cases

  • Debugging an API call by inspecting the raw request
  • Converting a cURL command from API docs into application code
  • Understanding what headers and body a client is actually sending
  • Checking if a request is properly formatted before sending it

How it works

1

Paste a raw HTTP request or cURL command into the input pane

2

The tool parses the method, URL, headers, and body

3

Each component is displayed in structured output fields

4

Code snippets in multiple languages are generated for the same request

Frequently asked questions

1What's the difference between this and the REST Client tool?

The HTTP Request Analyzer focuses on parsing and breaking down an existing request or cURL command. The REST Client is designed for composing and sending requests. Both can parse cURL and generate code snippets, but the analyzer is read-only (no sending).

2Can it detect GraphQL requests?

Yes. If the request body is JSON and contains a query field, the tool identifies it as a GraphQL request and extracts the query, variables, and operation name separately.

3Does it handle authentication headers?

Yes. Authorization headers (Bearer, Basic, Digest) are parsed and displayed. For Basic Auth, the tool can decode the base64 credentials. For Bearer tokens, it shows the token value (which you can pipe to the JWT debugger).

Related tools

Use HTTP Request Analyzer offline in Devinity

All 95 tools run locally on your Mac. No internet required, no data sent to servers.

Download Devinity →