邮递员-在请求中设置和使用Cookie

时间:2018-11-07 07:00:27

标签: http curl postman session-cookies

我正在尝试从邮递员执行以下curl命令:

命令1

curl -b u1 -c u1 -X POST -H "Content-Type: application/json" -d <some-json-data> <some-url>

命令2

curl -b u1 <some-url>

我尝试了以下链接,但无济于事:

Set cookie in Postman with variable

Get and store the value of a cookie using Postman

0 个答案:

没有答案