Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XMLHttpRequest cannot load http://45.55.39.107/api/user/?username=john.doe&password=54rp50tme373&format=json. Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://localhost:8080' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
- Access-Control-Allow-Headers:Authorization, Origin, X-Requested-With, Content-Type, Accept
- Access-Control-Allow-Methods:GET, POST, OPTIONS, HEAD
- Access-Control-Allow-Origin:*
- Connection:keep-alive
- Content-Length:0
- Content-Type:application/octet-stream
- Date:Fri, 26 May 2017 10:47:13 GMT
- Server:nginx/1.10.0 (Ubuntu)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement