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..