Closed StevenMaude closed 8 years ago
curl -L -v --data "type=error" https://scraperwiki.com/api/status
* Ignoring the response-body
* Connection #1 to host app.quickcode.io left intact
* Issue another request to this URL: 'https://app.quickcode.io/login'
* Found bundle for host app.quickcode.io: 0xe2e020
* Re-using existing connection! (#1) with host app.quickcode.io
* Connected to app.quickcode.io (54.229.175.226) port 443 (#1)
> GET /login HTTP/1.1
> User-Agent: curl/7.35.0
> Host: app.quickcode.io
> Accept: */*
It might also be better to have the correct redirect from the ScraperWiki URL to the QuickCode URL specified too.
@StevenMaude I've made the status endpoint use a 307 redirect, so old boxes will carry on working.
@frabcus Great, as that was broken for everyone.
I think this should still get merged to reflect the current configuration accurately.
Merging to reflect the state of things.
Use QuickCode URL for status updates.
The previous https://scraperwiki.com/api/status URL now redirects to https://app.quickcode.io/login and the status update fails silently (the site does respond, but doesn't cause a HTTP error).