无法授权进入 Http 请求

Can't authorize into Http request

对不起我的英语)

我在 https://naurok.com.ua (login: kuz.code.official@gmail.com, password: 2455s1). I log in, then follow the link /test/test-po-filosofii-541029/flashcard 上有一个帐户。

在我跟随link之后,它通过请求/api/test/documents/541029/flashcard加载了卡片。

我要发送成功:

我测试邮递员的请求api/test/documents/541029/flashcard。请求发送捕获的 Cookie,但它说我需要登录(“Необходимо авторизоваться”)。

为什么查询在网站上有效,但在 Postman 中却无效?

您需要添加最重要的事情,即添加 cookie PHPSESSID 您可以在浏览器上检查网络选项卡上的请求时找到它 像这样

点击 postman 上的“cookies”

要这样

或点击邮递员上的“代码”

我还注意到你需要 referer header 否则它不会工作