HTTPie · Schema

HTTPie Request

Schema representing an HTTPie HTTP request, including method, URL, headers, and body.

API ClientAPI TestingCLIClientsCommand LineDeveloper ToolsHTTPOpen-SourceSessions

Properties

Name Type Description
method string The HTTP method for the request.
url string The target URL for the request.
headers object HTTP headers to include in the request.
queryParams object Query string parameters appended to the URL.
body object The request body payload.
auth object Authentication credentials for the request.
timeout number Request timeout in seconds.
verify boolean Whether to verify SSL certificates.
View JSON Schema on GitHub

JSON Schema

request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/httpie/refs/heads/main/json-schema/request.json",
  "title": "HTTPie Request",
  "description": "Schema representing an HTTPie HTTP request, including method, URL, headers, and body.",
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "description": "The HTTP method for the request.",
      "enum": ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The target URL for the request."
    },
    "headers": {
      "type": "object",
      "description": "HTTP headers to include in the request.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "queryParams": {
      "type": "object",
      "description": "Query string parameters appended to the URL.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "body": {
      "description": "The request body payload.",
      "oneOf": [
        { "type": "string" },
        { "type": "object" }
      ]
    },
    "auth": {
      "type": "object",
      "description": "Authentication credentials for the request.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The authentication type.",
          "enum": ["basic", "bearer", "digest"]
        },
        "username": {
          "type": "string",
          "description": "Username for basic or digest authentication."
        },
        "password": {
          "type": "string",
          "description": "Password for basic or digest authentication."
        },
        "token": {
          "type": "string",
          "description": "Token for bearer authentication."
        }
      },
      "required": ["type"]
    },
    "timeout": {
      "type": "number",
      "description": "Request timeout in seconds."
    },
    "verify": {
      "type": "boolean",
      "description": "Whether to verify SSL certificates.",
      "default": true
    }
  },
  "required": ["method", "url"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.