mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-06-06 22:16:15 +02:00
Merge pull request #57 from ivanovmg/fix/status-code-bad-request
Fix status code for BadRequest in Section 13
This commit is contained in:
commit
5fb91e42b9
@ -492,7 +492,7 @@ POST /v1/coffee-machines/search↵
|
||||
"longitude": 0
|
||||
}
|
||||
}
|
||||
→ 404 Bad Request
|
||||
→ 400 Bad Request
|
||||
{
|
||||
"errors": [{
|
||||
"type": "suspicious_coordinates",
|
||||
|
@ -510,7 +510,7 @@ POST /v1/coffee-machines/search↵
|
||||
"longitude": 0
|
||||
}
|
||||
}
|
||||
→ 404 Bad Request
|
||||
→ 400 Bad Request
|
||||
{
|
||||
"errors": [{
|
||||
"type": "suspicious_coordinates",
|
||||
|
Loading…
x
Reference in New Issue
Block a user