Skip to content

Instantly share code, notes, and snippets.

@blakecrosby
Created March 13, 2020 19:39
Show Gist options
  • Save blakecrosby/a2ff64f62c7f882fb681a420ccdab4d2 to your computer and use it in GitHub Desktop.
Save blakecrosby/a2ff64f62c7f882fb681a420ccdab4d2 to your computer and use it in GitHub Desktop.
Blakes-MBP:Downloads bcrosby$ curl -I 'https://connector.sandbox.uselaterpaytest.com/api/v2/fetch/?article_title=Demo+Page&article_url=http%3A%2F%2Fwww.blakecrosby4.com%2Flaterpay%2Fpaid%2F' -H "Origin: http://www.blakecrosby4.com"
HTTP/1.1 204 No Content
Allow: GET, HEAD, OPTIONS
Content-Language: en
Content-Length: 0
Date: Fri, 13 Mar 2020 19:36:06 GMT
Server: nginx/1.16.1
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Cookie, Accept-Language
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Connection: keep-alive
Blakes-MBP:Downloads bcrosby$ curl -I 'https://connector.sandbox.uselaterpaytest.com/api/v2/fetch/?article_title=Demo+Page&article_url=http%3A%2F%2Fwww.blakecrosby.com%2Flaterpay%2Fpaid%2F' -H "Origin: http://www.blakecrosby.com"
HTTP/1.1 402 Payment Required
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://www.blakecrosby.com
Allow: GET, HEAD, OPTIONS
Content-Language: en
Content-Length: 965
Content-Type: application/json
Date: Fri, 13 Mar 2020 19:36:14 GMT
Server: nginx/1.16.1
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Cookie, Accept-Language
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Connection: keep-alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment