Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Created March 11, 2014 09:26
Show Gist options
  • Save m0wfo/9482328 to your computer and use it in GitHub Desktop.
Save m0wfo/9482328 to your computer and use it in GitHub Desktop.
// Request
OPTIONS /v1/logs/logid HTTP/1.1
Host: js.logentries.com
Connection: keep-alive
Access-Control-Request-Method: POST
Origin: https://logentries.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
Access-Control-Request-Headers: x-requested-with, content-type
Accept: */*
Referer: https://logentries.com/app/id
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
// Response
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Content-type
Access-Control-Allow-Headers: X-Requested-With
Access-Control-Allow-Headers: Accept
Access-Control-Allow-Methods: POST
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 86400
Date: Tue, 11 Mar 2014 09:21:59 GMT
Content-Length: 0
Connection: keep-alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment