问题描述:

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>"

相关阅读:
Top