Advertisement
Guest User

Untitled

a guest
May 26th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 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. Access-Control-Allow-Headers:DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
  5. Access-Control-Allow-Methods:GET, POST, OPTIONS
  6. Access-Control-Allow-Origin:*
  7. Access-Control-Max-Age:1728000
  8. Connection:keep-alive
  9. Content-Length:0
  10. Content-Type:text/plain charset=UTF-8
  11. Date:Fri, 26 May 2017 11:40:12 GMT
  12. Server:nginx/1.10.0 (Ubuntu)
  13. Request Headers
  14. view source
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement