Posts by Pedro de Albuquerque • 11 points
1 post
-
1
votes0
answers70
viewsQ: Angular 2 Xmlhttprequest cannot load
I am trying to make a POST request for an API and am getting this error: Xmlhttprequest cannot load http://*. Response for preflight has invalid HTTP status code 400 However, when I make a GET…