当前位置: 动力学知识库 > 问答 > 编程问答 >

Is there a way to use the browsable API for Django Rest Framework with Authtoken

问题描述:

How can I use the Django Rest Framework browsable API for a particular user by authenticating via authtoken (instead of username/pwd)? The same way I would do for POSTMAN in Chrome

Thanks

网友答案:

Check modheader. It allows you to set headers for your request. You can set the token authtoken there where "Name" would be "Authorization" and "Value" would be "Token <your_token>"

分享给朋友:
您可能感兴趣的文章:
随机阅读: