我希望使用httr包在R中做一个简单的GET请求(来自Aplos API)。我可以通过使用API密钥进行身份验证来获得一个临时令牌,但是在尝试使用令牌发出实际的get请求时,我得到了一个401 "Token not be located“。将非常感谢您的帮助!提前谢谢你。AplosURL <- "https://www.aplos.com/hermes/
我正在使用以下api:
https://api.football-data.org/v2/teams/86/matches?Please pass a valid APItoken and check your subscription for permission.","errorCode":403}
因此,问题是,我如何给网站我的<em
我创建了一个使用JWT作为身份验证方法的Django RESTful API,但无法使用angularJS将令牌作为标头传递。我认为我的API没有错误,因为我使用了这个脚本获得的令牌,并在Postman中测试了它:
我的JWT令牌身份验证脚本在这里:
// Uses http.get() to loa