Advertisement
Guest User

Untitled

a guest
May 26th, 2017
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. 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.
  2.  
  3.  
  4.  
  5. Access-Control-Allow-Headers:Authorization, Origin, X-Requested-With, Content-Type, Accept
  6. Access-Control-Allow-Methods:GET, POST, OPTIONS, HEAD
  7. Access-Control-Allow-Origin:*
  8. Connection:keep-alive
  9. Content-Length:0
  10. Content-Type:application/octet-stream
  11. Date:Fri, 26 May 2017 10:47:13 GMT
  12. Server:nginx/1.10.0 (Ubuntu)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement