new to Angular and javascript. I am using Angular to connect to a service on a different server. I am able to get data just fine, but when I am trying to post, I get a 404.
It looks like it was something on the server side configuration. We had set the Access-Control-Allow-Origin to *. According to the answer below, Chrome no longer supports that.
Original (wrong):
header("Access-Control-Allow-Headers: *");
Corrected:
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
For more information check out this post. https://stackoverflow.com/a/18192705/3010896