Allow: *
Access-Control-Allow-Origin: *;
Access-Control-Allow-Headers: origin, content-type, accept, authorization, Access-Control-Allow-Origin
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS, HEAD
Access-Control-Max-Age: 1209600
The servlet itself needs to return the following header:
Access-Control-Allow-Origin: *
The following header needs to be added to the request:
Access-Control-Allow-Origin:
No comments:
Post a Comment