用的是这个sample
获取到accessToken之后进行访问时出错:
curl -d -H "Authorization: Bearer UR8Ei4zEh1hhZqgVL1hNV5X33ruyFT" http://localhost:8000/users/
提示:
curl: (6) Could not resolve host: Authorization
{"detail":"Authentication credentials were not provided."}
settings里也都按照sample里设置了