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

前端 未结 5 1184
感情败类
感情败类 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:11

    The problem was that www.domain.com was seen as different than domain.com. domain.com worked, but when I used www.domain.com, it detected me as doing requests from a different domain

提交回复
热议问题