prasanna p

prasanna p

  • 1.2k
  • 465
  • 96.7k

Jquery ajax call in one domain,image saving in other domain

Dec 6 2019 8:53 PM
Hi friends,
 
I am inserting data and image in one domain using jquery ajax call,hitting web api to store image in other domain project directory.
 
I used Enable cors in the control level and  webapiconfig.Everything is working fine but from last 2 days the image is not saving in the other domain project directory.
 
I am using this approch in the 3 places to store image.
 
Code is perfect but getting error  failed to load resource 400 bad request in the server and not storing the image.When I select API url it is giving the following information.
 
please tell me how to fix the issue. 
  
 
Thanks in advance 

Answers (4)