Created
February 5, 2024 18:36
-
-
Save andrew-a-dev/00ab65dbc5474cf8e7351815e0bd08ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Three identical curl OPTIONS requests, to each of "production", "heroku staging", and "AWS staging" | |
# The first 2 return 200s, the last 404s | |
> curl -I 'https://cam-api.concert.io/graphql' -X OPTIONS -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: authorization,content-type' -H 'Referer: https://admanager.concert.io/' -H 'Origin: https://admanager.concert.io' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers' | |
HTTP/2 200 | |
server: Cowboy | |
report-to: {"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1707157814&sid=1b10b0ff-8a76-4548-befa-353fc6c6c045&s=0eGYwaFnlke7tgDiTfRdIkltq9mAgj%2B0P5dNk3eWcZE%3D"}]} | |
reporting-endpoints: heroku-nel=https://nel.heroku.com/reports?ts=1707157814&sid=1b10b0ff-8a76-4548-befa-353fc6c6c045&s=0eGYwaFnlke7tgDiTfRdIkltq9mAgj%2B0P5dNk3eWcZE%3D | |
nel: {"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]} | |
access-control-allow-origin: https://admanager.concert.io | |
access-control-allow-methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD | |
access-control-expose-headers: | |
access-control-max-age: 7200 | |
access-control-allow-credentials: true | |
access-control-allow-headers: authorization,content-type | |
via: 1.1 vegur, 1.1 varnish | |
accept-ranges: bytes | |
date: Mon, 05 Feb 2024 18:30:14 GMT | |
x-served-by: cache-lon4240-LON | |
x-cache: MISS | |
x-cache-hits: 0 | |
x-timer: S1707157814.975491,VS0,VE160 | |
alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400 | |
~ | |
> curl -I 'https://karaoke-service-staging.herokuapp.com/graphql' -X OPTIONS -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: authorization,content-type' -H 'Referer: https://admanager.concert.io/' -H 'Origin: https://admanager.concert.io' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers' | |
HTTP/1.1 200 OK | |
Server: Cowboy | |
Date: Mon, 05 Feb 2024 18:33:45 GMT | |
Report-To: {"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1707158026&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=u1SnovItzDzk0kVeyYulkxtYOQRaTEKPJorBfvNmPcs%3D"}]} | |
Reporting-Endpoints: heroku-nel=https://nel.heroku.com/reports?ts=1707158026&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=u1SnovItzDzk0kVeyYulkxtYOQRaTEKPJorBfvNmPcs%3D | |
Nel: {"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]} | |
Connection: keep-alive | |
Access-Control-Allow-Origin: https://admanager.concert.io | |
Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD | |
Access-Control-Expose-Headers: | |
Access-Control-Max-Age: 7200 | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Headers: authorization,content-type | |
Transfer-Encoding: chunked | |
Via: 1.1 vegur | |
~ | |
> curl -I 'https://cam-staging-api.concert.io/graphql' -X OPTIONS -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: authorization,content-type' -H 'Referer: https://admanager.concert.io/' -H 'Origin: https://admanager.concert.io' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers' | |
HTTP/2 404 | |
content-type: text/html; charset=UTF-8 | |
access-control-allow-origin: https://admanager.concert.io | |
access-control-allow-methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD | |
access-control-expose-headers: | |
access-control-max-age: 7200 | |
access-control-allow-credentials: true | |
x-request-id: 06850161-7038-4434-b94f-df770c12d66f | |
x-runtime: 0.001420 | |
content-encoding: br | |
accept-ranges: bytes | |
date: Mon, 05 Feb 2024 18:31:04 GMT | |
via: 1.1 varnish | |
age: 0 | |
x-served-by: cache-man4132-MAN | |
x-cache: MISS | |
x-cache-hits: 0 | |
x-timer: S1707157864.852147,VS0,VE334 | |
vary: Origin, Accept-Encoding | |
alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400 | |
content-length: 721 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment