Verify POST request with JSON body to create a new user
Preconditions (3)
Step 1: Open Postman and create a new POST request
Step 2: Set the request URL to https://api.example.com/users
Step 3: In the Body tab, select raw and choose JSON format
Step 4: Enter the following JSON body: {"name": "John Doe", "email": "john.doe@example.com", "age": 30}
Step 5: Send the request
Step 6: Observe the response status code and body
✅ Expected Result: Response status code is 201 Created and response body contains the created user details with name 'John Doe', email 'john.doe@example.com', and age 30