Could not add Access-Control-Allow-Origin to my WCF library Project

后端 未结 5 2127
借酒劲吻你
借酒劲吻你 2021-02-09 09:03

I\'m trying to understand why this ajax called doesn\'t work

 $.ajax({
        type: \'GET\',
        url: \"http://localhost:8732/Design_Time_Addresses/InMotion         


        
5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-09 09:30

    Put this in the service side of your configuration file

    
    
      
        
      
    
    
    

    It works for me! Thanks!

提交回复
热议问题