6. How To Generate API token | Sending Post request in Postman | API automation in Hindi

Опубликовано: 02 Март 2026
на канале: Testing Gyan
1,076
18

Hi Guys,
In this video we will learn to mock api response and to parse complex json
Follow us on Instagram
  / testing.gyan  

Connect with us on LinkedIn

Tarun Prashar -   / tarun-prashar-8335b774  
Jatin Sukhija -   / jatin-sukhija-ab2aa8147  

API doc
To submit or view an order, you need to register your API client.
POST /api-clients/
{
"clientName": "Testing",
"clientEmail": "[email protected]"
}

Submit an order
POST /orders
Allows you to submit a new order. Requires authentication.
The request body needs to be in JSON format and include the following properties:
• bookId - Integer - Required
• customerName - String - Required
Example
POST /orders/
Authorization: Bearer Token
{
"bookId": “1”,
"customerName": "John"
}
The response body will contain the order Id.