Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint redirected to normal page ... #17

Open
spock64 opened this issue Sep 10, 2020 · 0 comments
Open

API endpoint redirected to normal page ... #17

spock64 opened this issue Sep 10, 2020 · 0 comments

Comments

@spock64
Copy link

spock64 commented Sep 10, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant