Advertisement
Guest User

Untitled

a guest
Mar 17th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. XMLHttpRequest cannot load http://localhost:26116//token.
  2. Response to preflight request doesn't pass access control check:
  3. No 'Access-Control-Allow-Origin' header is present on the requested resource.
  4. Origin 'http://localhost:1360' is therefore not allowed access. The response had HTTP status code 400.
  5.  
  6. {
  7. "data": null,
  8. "status": -1,
  9. "config": {
  10. "method": "POST",
  11. "transformRequest": [
  12. null
  13. ],
  14. "transformResponse": [
  15. null
  16. ],
  17. "encoding": "JSON",
  18. "headers": {
  19. "Content-Type": "application;x-www-form-urlencoded",
  20. "Access-Control-Allow-Origin": "http://localhost:1360",
  21. "Accept": "application/json, text/plain, */*"
  22. },
  23. "url": "http://localhost:26116//token",
  24. "data": "username=bob.mazzo@razor-risk.com&password=Razorweb123&grant_type=password"
  25. },
  26. "statusText": ""
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement