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, content-type
- Access-Control-Allow-Methods:DELETE, GET, PATCH, POST, PUT, OPTIONS
- Access-Control-Allow-Origin:*
- Access-Control-Max-Age:86400
- Connection:keep-alive
- Content-Encoding:gzip
- Content-Type:text/html; charset=utf-8
- Date:Fri, 26 May 2017 13:28:31 GMT
- Server:nginx/1.10.0 (Ubuntu)
- Transfer-Encoding:chunked
- X-Frame-Options:SAMEORIGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement