Skip to Content
UsageHTTP Requests

HTTP Requests

Astraio supports all standard HTTP methods and request configurations.

Supported Methods

  • GET — Retrieve data
  • POST — Create resources
  • PUT — Update resources (full replacement)
  • PATCH — Partial updates
  • DELETE — Remove resources
  • HEAD — Same as GET but no body
  • OPTIONS — CORS preflight requests

Request Configuration

URL

Enter the full URL including protocol:

https://api.example.com/v1/users

Headers

Click the Headers tab to add custom headers:

HeaderDescription
Content-TypeRequest body format
AuthorizationBearer tokens, API keys
AcceptExpected response format

Query Parameters

Click Params to add URL query parameters:

?page=1&limit=10&sort=desc

Request Body

For POST, PUT, PATCH requests, select a body type:

  • JSONapplication/json
  • Formmultipart/form-data or application/x-www-form-urlencoded
  • Raw — Plain text, XML, etc.
  • Binary — File uploads

Response Inspector

After sending a request, the response panel shows:

  • Status Code200 OK, 404 Not Found, etc.
  • Headers — Response headers from the server
  • Body — Syntax-highlighted JSON, HTML, or raw text
  • Timing — Total request duration in ms

Tips

  • Use Cmd+Enter (macOS) or Ctrl+Enter (Windows/Linux) to send requests quickly
  • Responses are automatically formatted and syntax-highlighted
  • Copy response body with one click
Last updated on