Verify POST request creates a new user successfully
Preconditions (3)
Step 1: Open Postman and create a new POST request
Step 2: Enter the URL https://api.example.com/users in the request URL field
Step 3: Select POST method
Step 4: Go to the Body tab and select raw JSON format
Step 5: Enter the following JSON data: {"name": "John Doe", "email": "john.doe@example.com"}
Step 6: Click Send button
Step 7: Observe the response status code and body
✅ Expected Result: Response status code is 201 Created and response body contains the new user's id, name as 'John Doe', and email as 'john.doe@example.com'