No 'Access-Control-Allow-Origin' header is present on the requested resource.

Posted by Kasani007 under AngularJS 1x on 4/20/2017 | Points: 10 | Views : 2297 | Status : [Member] | Replies : 0
When i am trying to pass large string i.e., converted the file in to binary and passing to webapi as string , if the file size is above 45, the below error is coming

XMLHttpRequest cannot load http://localhost/api/Order/UploadFile. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost is therefore not allowed access. The response had HTTP status code 404.


how can i rectify this...please help me..




Responses

(No response found.)

Login to post response