Change the domain is not only one thing for switching API versions
https://api.ordoro.com/order/ - works fine
https://api.ordoro.com/order - (without backslash) continuously redirecting
https://apiverson.ordoro.com/order/ - 404 not found
https://apiverson.ordoro.com/order - works fine
Logs:
Summary
`* Trying 35.161.24.116…
- TCP_NODELAY set
- Connected to api.ordoro.com (35.161.24.116) port 443 (#0)
- %Redacted%
GET /order/ HTTP/1.1
Host: api.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Basic %auth_data%
Content-Length: 2
- upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 200 OK
< cache-control: no-cache,max-age=0,must-revalidate
< Content-Type: application/json
< Date: Thu, 12 Apr 2018 14:09:05 GMT
< pragma: no-cache
< Server: gunicorn/19.7.1
< X-API-REQUEST-ID: 619168fb-2f34-41a4-ab4b-571a4fd0ad3d
< X-Ordoro-API-Server: i-0f1b8914119b94aa0 1.520.0
< X-ORDORO-HANDLED-BY: ip-172-31-13-188
< Content-Length: 17588
< Connection: keep-alive
< - Connection #0 to host api.ordoro.com left intact
- Trying 35.161.24.116…
- TCP_NODELAY set
- Connected to api.ordoro.com (35.161.24.116) port 443 (#0)
- %Redacted%
GET /order HTTP/1.1
Host: api.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Basic %auth_data%
Content-Length: 2
- upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 301 MOVED PERMANENTLY
< cache-control: no-cache,max-age=0,must-revalidate
< Content-Type: text/html; charset=utf-8
< Date: Thu, 12 Apr 2018 14:09:47 GMT
< Location: http://api.ordoro.com/order/
< pragma: no-cache
< Server: gunicorn/19.7.1
< X-API-REQUEST-ID: b94fb419-a7f5-435d-bbbd-7342cef85044
< X-Ordoro-API-Server: i-071fe1adaa46f6e5e 1.520.0
< X-ORDORO-HANDLED-BY: ip-172-31-31-186
< Content-Length: 263
< Connection: keep-alive
< - Connection #0 to host api.ordoro.com left intact
- Trying 35.161.24.116…
- TCP_NODELAY set
- connect to 35.161.24.116 port 80 failed: Timed out
- Trying 35.166.12.193…
- TCP_NODELAY set
- connect to 35.166.12.193 port 80 failed: Timed out
- Trying 35.167.140.48…
- TCP_NODELAY set
- connect to 35.167.140.48 port 80 failed: Timed out
- Failed to connect to api.ordoro.com port 80: Timed out
- Closing connection 1
- Trying 54.68.96.117…
- TCP_NODELAY set
- Connected to apiverson.ordoro.com (54.68.96.117) port 443 (#0)
- %Redacted%
GET /order/ HTTP/1.1
Host: apiverson.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Basic %auth_data%
Content-Length: 2
- upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 404 Not Found
< CONTENT-TYPE: application/json
< DATE: Thu, 12 Apr 2018 14:12:45 GMT
< SERVER: Python/3.6 aiohttp/0.21.6
< X-APIVERSON-REQUEST-ID: 3a38c10d-a236-4cef-a426-8b1091e45222
< Content-Length: 172
< Connection: keep-alive
< - Connection #0 to host apiverson.ordoro.com left intact
- Trying 54.68.96.117…
- TCP_NODELAY set
- Connected to apiverson.ordoro.com (54.68.96.117) port 443 (#0)
- %Redacted%
- SSL certificate verify ok.
GET /order HTTP/1.1
Host: apiverson.ordoro.com
User-Agent: GuzzleHttp/6.3.2 curl/7.54.1 PHP/7.1.7
Content-Type: application/json
Authorization: Basic %auth_data%
Content-Length: 2
- upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 200 OK
< CACHE-CONTROL: no-cache,max-age=0,must-revalidate
< CONTENT-TYPE: application/json
< DATE: Thu, 12 Apr 2018 14:12:58 GMT
< PRAGMA: no-cache
< SERVER: gunicorn/19.7.1
< X-API-REQUEST-ID: c309df25-d676-4b64-9511-d857efd4df5c
< X-APIVERSON-REQUEST-ID: 3081017c-1929-4ba5-bb1e-69b25f9f9e10
< X-ORDORO-API-SERVER: i-052fccfce46c0a9ac 1.520.0
< X-ORDORO-HANDLED-BY: ip-172-31-44-40
< Content-Length: 4893
< Connection: keep-alive
< - Connection #0 to host apiverson.ordoro.com left intact
`