You've already forked The-API-Book
mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-08-10 21:51:42 +02:00
Fix status code for bad request (en)
This commit is contained in:
@@ -492,7 +492,7 @@ POST /v1/coffee-machines/search↵
|
|||||||
"longitude": 0
|
"longitude": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
→ 404 Bad Request
|
→ 400 Bad Request
|
||||||
{
|
{
|
||||||
"errors": [{
|
"errors": [{
|
||||||
"type": "suspicious_coordinates",
|
"type": "suspicious_coordinates",
|
||||||
|
Reference in New Issue
Block a user