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

时间:2021-04-17 23:04:03

标签: postman csrf csrf-token

我正在尝试在 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)

0 个答案:

没有答案