When requesting e.g., https://api-db.sota.org.uk/admin/swl_roll?associationID=-1&year=2023 the content-type of the response is set to text/html; charset=UTF-8
, while the content itself is valid application/json
.
While modern browsers correct this error, it is not so simple to use this call with scripts. Especially in Java, the combination of jackson, jersey and resteasy would require some crude workarounds to get object mapping to work.
The other endpoints (activator_roll
, chaser_roll
) correctly return application/json
as their content-type.
It would be great if this could be corrected; thank you!