speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

`GET /users` without query results in vague, undocumented HTTP 400 #142

Open exodustx0 opened 2 years ago

exodustx0 commented 2 years ago

GET /users:

{
  "status": 400,
  "message": "Bad Request"
}

The message gives zero indication about what's wrong with the request, and the endpoint's documentation doesn't say anything that helps with identifying the issue; it does, however, specifically mention that a request without query should get all users.

Putting any of the filter parameters in the query results in HTTP 200 as expected.

Ghzhegosh commented 2 years ago

same thing for me, sending this request gives 400 error message and this response image