Files
pw/config/wiremock/mappings/user-by-id-success.json
T

20 lines
320 B
JSON

{
"request": {
"method": "GET",
"urlPath": "/users/1"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"jsonBody": {
"id": 1,
"name": "Student 1",
"grade": "A",
"school_name": "OTUS School",
"city": "Moscow"
}
}
}