Response for preflight has invalid HTTP status code 405

后端 未结 6 847
轻奢々
轻奢々 2020-12-06 11:06

I have read many similar problems in StackOverflow, but the solutions doesn\'t work for me.

I have WCF REST service:

[]            


        
6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 12:02

    I have just solved the same problem with deleting xhr.setRequestHeader() in my AJAX request. If someone has one in code, try to remove it.

提交回复
热议问题