UKHSA-Internal/coronavirus-dashboard-api-python-sdk

API endpoint redirected to normal page ...

spock64 opened this issue · 0 comments

There's a redirect in place meaning that the API does not work ...
... If the API is down, can't the service simply fail the request?

curl -si 'https://api.coronavirus.data.gov.uk/v1/data?filters=areaType=nation;areaName=england&structure=%7B%22name%22:%22areaName%22%7D'
HTTP/1.1 307 Temporary Redirect
Content-Length: 0
Location: https://api.coronavirus-staging.data.gov.uk/v1/data?filters=areaType=nation;areaName=england&structure=%7B%22name%22:%22areaName%22%7D&format=json&page=1
Request-Context: appId=cid-v1:10ef5909-f7e8-4267-86f0-f575a2bdc89e
Date: Thu, 10 Sep 2020 09:27:21 GMT