API Request
Built-in API testing tool. Send HTTP requests, organize them in collections, and test your REST APIs directly within SmartestQA.
Overview
API Request is a built-in HTTP client that lets you send requests, inspect responses, and organize your API calls into collections - similar to tools like Postman.
Send Requests
GET, POST, PUT, DELETE
Collections
Organize in folders
Authorization
Bearer, Basic, API Key
Swagger Import
Import OpenAPI specs
Supported HTTP Methods
Page Layout
The API Request page is divided into two main sections:
Left Panel - Collections
A tree-structured sidebar that organizes all your API requests into collections and folders.
Right Panel - Request Editor
The main workspace where you configure and send HTTP requests.
Body
Response
Collections
Collections allow you to organize your API requests into logical groups. Each collection can contain folders and individual requests.
"+ New" Menu
Click the "+ New" button at the top of the left panel. The dropdown menu offers the following options:
Add Collection
Creates a new top-level collection to group related API requests together.
Add Folder
Creates a subfolder within a collection to further organize requests.
Add Request
Creates a new blank HTTP request that you can configure and save.
Import
Import existing collections from Postman export files or Swagger/OpenAPI specs.
Collection Structure Example
Sending Requests
Configure and send HTTP requests using the request editor panel.
How to Send a Request
- 1 Select the HTTP method from the dropdown (GET, POST, PUT, DELETE)
-
2
Enter the Request URL (e.g.,
https://api.example.com/users) - 3 Configure Body, Authorization, Params or Headers as needed
- 4 Click "Send" to execute the request
- 5 View the Response in the bottom section
- 6 Click "Save" to store the request in your collection
Request URL Bar
Request Body
For POST and PUT requests, you can send data in the request body. Two formats are supported:
form-data
Send data as key-value pairs. Ideal for form submissions and file uploads.
| Key | Value |
|---|---|
| user@test.com | |
| password | pass123 |
raw (JSON)
Send raw JSON data. Select the JSON format from the dropdown.
{
"email": "user@example.com",
"password": "myP@ssw0rd",
"rememberMe": true
}
Select between form-data and raw using the radio buttons above the body editor. When using raw mode, choose JSON from the format dropdown to enable syntax highlighting.
Response
After sending a request, the response appears in the bottom section of the editor with JSON formatting.
Response Example
JSON{
"success": true,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": 1,
"email": "user@example.com",
"name": "Alex"
}
},
"message": "Login successful"
}
The response section displays the API response in formatted JSON view, making it easy to inspect the returned data.
Import (Swagger & Postman)
Import existing API collections from Swagger/OpenAPI specifications or Postman export files. Click "+ New" and select the import option.
Import Swagger / OpenAPI
Import API definitions from Swagger or OpenAPI specs to automatically generate collections with all endpoints, methods, and folder structure.
- 1 Click "+ New" → "Import Swagger / OpenAPI"
- 2 Enter the Swagger URL or upload the JSON/YAML file
- 3 Collection is created automatically with folders and requests
Import Postman
Import your existing Postman collections directly. Migrate your API requests from Postman to SmartestQA seamlessly.
- 1 Export your collection from Postman (JSON format)
- 2 Click "+ New" → "Import Postman"
- 3 Upload the exported Postman JSON file
Import Example: Swagger Petstore
When you import the Swagger Petstore API, the following collection structure is automatically created:
Both Swagger and Postman imports automatically organize endpoints into folders, preserving the original API structure with correct HTTP methods, headers, and body configurations.