Advertisement
Guest User

Untitled

a guest
May 26th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 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, content-type
  6. Access-Control-Allow-Methods:DELETE, GET, PATCH, POST, PUT, OPTIONS
  7. Access-Control-Allow-Origin:*
  8. Access-Control-Max-Age:86400
  9. Connection:keep-alive
  10. Content-Encoding:gzip
  11. Content-Type:text/html; charset=utf-8
  12. Date:Fri, 26 May 2017 13:28:31 GMT
  13. Server:nginx/1.10.0 (Ubuntu)
  14. Transfer-Encoding:chunked
  15. X-Frame-Options:SAMEORIGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement