← Back to API Tester FAQs

How to Send REST API Requests

Quick Start

  1. Open the REST API Tester.
  2. Choose an HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS).
  3. Enter the API URL.
  4. Click Send (or press Enter).

How requests are sent

REST calls without file attachments are sent through the DevToolSets HTTP relay (same-origin POST to /api/api-tester-relay), so cross-origin APIs work without CORS blocking the response body. If you use the Files body tab, the browser sends multipart/form-data directly to the target URL instead.

Adding Headers

Use the Headers section in the left panel. Click "+ Add" to add a new header. Each row has a checkbox to enable/disable it without deleting. Common headers:

Authorization: Bearer <token>
Content-Type: application/json
Accept: application/json

Query Parameters

Use the Query Params section to add URL parameters as key-value pairs. They're appended to the URL automatically (e.g. ?page=1&limit=10).

Request Body

For POST, PUT, and PATCH requests, the Body section appears with two tabs:

  • Raw — enter JSON or text. Content-Type is set to application/json automatically
  • Files — attach files for multipart/form-data uploads

Reading the Response

The response panel shows the status code (color-coded), response time, and size. JSON responses get a collapsible tree view. Switch between Tree, Raw, and Headers tabs.