step1:访问http://localhost:3000/graphiql

postman访问graphql

step2:开启调试f12,点击运行,生成参数值,观察请求。

postman访问graphql

step3:请求的Headers里--》requestPayload里的内容复制粘贴至postman的body中

postman访问graphql

postman访问graphql

step4;headers中添加此时已能登陆的cookie和content-Type

postman访问graphql

step5:再次通过postman访问,成功!!

postman访问graphql

相关文章: