Verify API accepts x-www-form-urlencoded body and returns success
Preconditions (2)
Step 1: Open Postman and create a new POST request
Step 2: Set the request URL to 'https://api.example.com/login'
Step 3: Select the 'Body' tab
Step 4: Choose 'x-www-form-urlencoded' as the body type
Step 5: Add key 'username' with value 'testuser'
Step 6: Add key 'password' with value 'Test@1234'
Step 7: Click 'Send' to submit the request
✅ Expected Result: Response status code is 200 and response body contains JSON with key 'message' and value 'Login successful'