SmartestQADocs
TR EN
api API TESTING

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.

api

Send Requests

GET, POST, PUT, DELETE

Collections

Organize in folders

Authorization

Bearer, Basic, API Key

Swagger Import

Import OpenAPI specs

Supported HTTP Methods

GET Retrieve data
POST Create data
PUT Update data
DELETE Remove data

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.

+ New
Search...
smartest
POST login
GET company user
POST login2
Swagger Petstore
user
pet
store

Right Panel - Request Editor

The main workspace where you configure and send HTTP requests.

POST
https://api.example.com/auth/login
Send Save

Body

form-data raw JSON
{ "email": "user@test.com", "password": "pass123" }
Authorization Params Header

Response

JSON response will appear here...

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
Add Folder
Add Request
Import Postman
Import Swagger / OpenAPI
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

smartest
POST login
GET company user
POST login2
GET New Request
Swagger Petstore
user (8 requests)
pet (8 requests)
store (4 requests)

API Sending Requests

Configure and send HTTP requests using the request editor panel.

How to Send a Request

  1. 1 Select the HTTP method from the dropdown (GET, POST, PUT, DELETE)
  2. 2 Enter the Request URL (e.g., https://api.example.com/users)
  3. 3 Configure Body, Authorization, Params or Headers as needed
  4. 4 Click "Send" to execute the request
  5. 5 View the Response in the bottom section
  6. 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
email 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.

Authorization

Configure authentication for your API requests using the Authorization tab on the right side of the request editor.

Right Panel Tabs

Authorization

Configure authentication method and credentials

Params

Add query string parameters to the URL

Header

Add custom HTTP headers to the request

Authorization Types

None

No authentication. Used for public endpoints.

Bearer Token

Sends an Authorization: Bearer <token> header. Common for JWT-based authentication.

Basic Auth

Sends Base64-encoded username:password in the Authorization header.

API Key

Sends an API key as a header or query parameter.

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. 1 Click "+ New""Import Swagger / OpenAPI"
  2. 2 Enter the Swagger URL or upload the JSON/YAML file
  3. 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. 1 Export your collection from Postman (JSON format)
  2. 2 Click "+ New""Import Postman"
  3. 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:

Swagger Petstore
user
GET Get user by user name
PUT Updated user
DELETE Delete user
POST Create user
pet
POST Add a new pet to the store
GET Find pet by ID
DELETE Deletes a pet
store
GET Returns pet inventories
POST Place an order for a pet

Both Swagger and Postman imports automatically organize endpoints into folders, preserving the original API structure with correct HTTP methods, headers, and body configurations.