Send a POST request with JSON body and verify response status
Preconditions (3)
Step 1: Open Postman and create a new POST request
Step 2: Enter the URL https://api.example.com/login in the request URL field
Step 3: Select POST method
Step 4: Go to the Body tab and select raw and JSON format
Step 5: Enter the JSON body: {"username": "testuser", "password": "Test@123"}
Step 6: Click the Send button
Step 7: Observe the response status code and body
✅ Expected Result: Response status code is 200 and response body contains a token field