OpenLigaDB / OpenLigaDB-Samples

Code-Samples und Issue-Tracker for using OpenLigaDB-Api
https://www.OpenLigaDB.de
Apache License 2.0
135 stars 17 forks source link

API response code is 202 - should be 200 #61

Closed fquirin closed 1 year ago

fquirin commented 1 year ago

Hi OpenLigaDB API team,

I've been using OpenLigaDB for a long time via SEPIA Open Assistant, but since a few days (weeks?) I've not been getting any results anymore. A quick check revealed that the API calls fail because the response code has changed from 200 (OK) to 202 (Accepted) which signals the program that the result isn't ready yet, but the server is actually delivering the full result.

You can see the same thing happening here: https://api.openligadb.de/index.html (expected: 200, actual: 202).

Will this be fixed server-side or do I have to add a manual workaround? 😅

Ty for your work, Florian