jquery - No 'Access-Control-Allow-Origin' header is present on the requested resource CORS -
i making cross-domain request , options request made browser comes right header:
{ "name": "access-control-allow-origin", "value": "*" }
but still post request gets rejected browser.
$.ajax({ url: url, type: 'put', headers: { "authorization": token }, success: function (resp) { } });
Comments
Post a Comment