jquery $.ajax cross-domain GET works but not POST
问题 I cannot figure out why a GET cross-domain request is working, but the POST request using the exact same server URL is not. I have set the following response headers set on the server (using JERSEY) for ALL request methods (GET, POST, PUT, DELETE, and OPTIONS): header("Access-Control-Allow-Origin", "*") header("Access-Control-Allow-Credentials", "true") header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS") header("Access-Control-Allow-Headers", "accept, origin,