微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Postman 中执行 POST 请求时如何使用 csrf 令牌

如何解决在 Postman 中执行 POST 请求时如何使用 csrf 令牌

我正在尝试在 Postman 中执行 POST 请求,并且我知道我必须使用 CSRF 令牌才能成功接收数据。我使用检查元素在我的浏览器上找到 csrf 令牌,但不知道如何在 Postman 中发送它。我该怎么做?

This is the error message I am receiving.

编辑:这是 api 文档关于标题的说明:

Parameters (http headers):
    
Content-disposition: attachment; filename=<filename> -- a name of the file (see rfc6266).
    
Authorization: license <user license> -- a user license,optional (if there is no license it is necessary to use csrf tokens)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。