Response for preflight has invalid HTTP status code 405

后端 未结 6 848
轻奢々
轻奢々 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:07

    Looks like I have found solution. I just added second method:

    []    
    []         
    abstract PostTest: obj: Test -> unit
    
    []    
    []         
    abstract PostTestOptions: unit -> unit
    

    It is just empty methods that do nothing. I don't know the reason, but all is working.

提交回复
热议问题