OPTIONS 405 (Method Not Allowed) regardless server sends Access-Control-Allow-Methods:OPTIONS, GET, HEAD, POST

后端 未结 3 827
太阳男子
太阳男子 2021-02-06 01:34

I\'m trying to make cross-domain request and my server is configured to send the following headers:

Access-Control-Allow-Credentials:true
Access-Control-Allow-He         


        
3条回答
  •  一整个雨季
    2021-02-06 02:19

    You would need to modify default OPTIONSVerbHandler. If using asp classic, that would mean adding following lines to your Web.config file:

        
            
            
        
    

提交回复
热议问题