Inspectors

REST / GraphQL Client

Parse a raw HTTP request or cURL command and get a full breakdown plus code snippets. The tool shows the method, URL, headers, and body in structured form, and generates equivalent code in fetch, HTTPie, and other formats. It also detects GraphQL requests and extracts the query, variables, and operation name. Similar to the HTTP Request Analyzer but with additional client-focused features.

REST / GraphQL Client — Parse HTTP requests or cURL commands — breakdown, code snippets (fetch, httpie), GraphQL detection

What it does

  • Parses raw HTTP requests and cURL commands
  • Breaks down method, URL, path, query params, headers, and body
  • Generates code snippets in fetch, HTTPie, and other formats
  • Detects GraphQL requests (query, variables, operation name)
  • Handles JSON, form-urlencoded, and multipart bodies
  • Identifies authentication method (Bearer, Basic, API key)

Use cases

  • Converting a cURL command into application code
  • Inspecting a GraphQL request to see the query and variables
  • Understanding the structure of a raw HTTP request from a log
  • Generating HTTPie commands for terminal-based API testing

How it works

1

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

2

The tool parses all components and displays them in structured fields

3

Code snippets are generated in the selected languages

4

If the body is a GraphQL request, the query and variables are extracted

Frequently asked questions

1How does GraphQL detection work?

If the request body is JSON and contains a query field (and optionally variables and operationName), the tool identifies it as a GraphQL request. It extracts and formats the query string separately from the variables, making it easier to read and debug.

2What code formats does it generate?

JavaScript fetch, HTTPie (command-line), and Python requests. The generated code includes the method, URL, headers, and body — ready to copy and run.

3Can it send requests?

No. This tool parses and generates code from existing requests — it doesn't send them. For sending requests, use the generated code in your application or a dedicated API client like Postman or Insomnia.

Related tools

Use REST / GraphQL Client offline in Devinity

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

Download Devinity →