Created
November 6, 2013 09:09
-
-
Save anonymous/7333130 to your computer and use it in GitHub Desktop.
CORS-POST Call problem
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
{ | |
"log": { | |
"version": "1.2", | |
"creator": { | |
"name": "WebInspector", | |
"version": "537.36" | |
}, | |
"pages": [], | |
"entries": [ | |
{ | |
"startedDateTime": "2013-11-06T08:51:26.508Z", | |
"time": 1151, | |
"request": { | |
"method": "OPTIONS", | |
"url": "https://api.user.com/Services/v1/Student.svc/preferences", | |
"httpVersion": "HTTP/1.1", | |
"headers": [ | |
{ | |
"name": "Access-Control-Request-Method", | |
"value": "POST" | |
}, | |
{ | |
"name": "Origin", | |
"value": "https://www.google.co.in" | |
}, | |
{ | |
"name": "Accept-Encoding", | |
"value": "gzip,deflate,sdch" | |
}, | |
{ | |
"name": "Host", | |
"value": "api.user.com" | |
}, | |
{ | |
"name": "Accept-Language", | |
"value": "en-GB,en-US;q=0.8,en;q=0.6" | |
}, | |
{ | |
"name": "User-Agent", | |
"value": "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36" | |
}, | |
{ | |
"name": "Accept", | |
"value": "*/*" | |
}, | |
{ | |
"name": "Referer", | |
"value": "https://www.google.co.in/" | |
}, | |
{ | |
"name": "Connection", | |
"value": "keep-alive" | |
}, | |
{ | |
"name": "Access-Control-Request-Headers", | |
"value": "accept, x-user-session, content-type" | |
} | |
], | |
"queryString": [], | |
"cookies": [], | |
"headersSize": 492, | |
"bodySize": 0 | |
}, | |
"response": { | |
"status": 200, | |
"statusText": "OK", | |
"httpVersion": "HTTP/1.1", | |
"headers": [ | |
{ | |
"name": "Date", | |
"value": "Wed, 06 Nov 2013 08:55:28 GMT" | |
}, | |
{ | |
"name": "Server", | |
"value": "Microsoft-IIS/7.5" | |
}, | |
{ | |
"name": "X-AspNet-Version", | |
"value": "4.0.30319" | |
}, | |
{ | |
"name": "X-Powered-By", | |
"value": "ASP.NET" | |
}, | |
{ | |
"name": "Access-Control-Allow-Methods", | |
"value": "GET,PUT,POST,DELETE,OPTIONS" | |
}, | |
{ | |
"name": "Content-Type", | |
"value": "application/json; charset=utf-8" | |
}, | |
{ | |
"name": "Access-Control-Allow-Origin", | |
"value": "https://www.google.co.in" | |
}, | |
{ | |
"name": "Cache-Control", | |
"value": "private" | |
}, | |
{ | |
"name": "Access-Control-Allow-Credentials", | |
"value": "true" | |
}, | |
{ | |
"name": "Set-Cookie", | |
"value": ".ASPXANONYMOUS=-VwHGk7gzgEkAAAAMmZmNTA5ZWQtZTE2Yy00NGM5LTk0ODAtMTBmMjI0OTAwODJj0; expires=Wed, 13-Nov-2013 08:55:28 GMT; path=/; HttpOnly" | |
}, | |
{ | |
"name": "Access-Control-Allow-Headers", | |
"value": "origin, content-type, accept" | |
}, | |
{ | |
"name": "Content-Length", | |
"value": "5" | |
} | |
], | |
"cookies": [ | |
{ | |
"name": ".ASPXANONYMOUS", | |
"value": "-VwHGk7gzgEkAAAAMmZmNTA5ZWQtZTE2Yy00NGM5LTk0ODAtMTBmMjI0OTAwODJj0", | |
"path": "/", | |
"expires": "2013-11-13T08:55:28.000Z", | |
"httpOnly": true, | |
"secure": false | |
} | |
], | |
"content": { | |
"size": 0, | |
"mimeType": "application/json", | |
"compression": -5, | |
"text": "" | |
}, | |
"redirectURL": "", | |
"headersSize": 590, | |
"bodySize": 5 | |
}, | |
"cache": {}, | |
"timings": { | |
"blocked": 0, | |
"dns": -1, | |
"connect": 758, | |
"send": 1, | |
"wait": 391, | |
"receive": 0, | |
"ssl": 364 | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment