'Request header field Authorization is not allowed' error - Tastypie

前端 未结 5 1168
感情败类
感情败类 2020-12-30 22:31

I am getting the following error while using ApiKeyAuthentication for my Tastypie resources when I try to do an HTTP request using AJAX and Tastypie:

XMLHttp         


        
5条回答
  •  时光取名叫无心
    2020-12-30 23:03

    I know this question is older.

    But today I ran into same cors issue after adding owin. After number of search on google and trying various solutions. I solved cors issue by adding below

    
    
    
    

    For more details please follow the below links. Thanks.

    [http://benfoster.io/blog/aspnet-webapi-cors]

提交回复
热议问题