yuanzhihai / easyhttp

轻量级、语义化、对IDE友好的HTTP客户端
MIT License
37 stars 3 forks source link

新手 如何使用cookies啊 亲 #11

Open DD924 opened 9 months ago

DD924 commented 9 months ago

如何获取cookies 某个值

yuanzhihai commented 9 months ago

$response = Http::withCookies(array $cookies, string $domain)->post(...);

DD924 commented 9 months ago

$response = Http::withCookies(array $cookies, string $domain)->post(...);

谢谢您的回复 我要取出cookies 呢 用请求头方式吗 这个我看了文档的呢 我要取出呢

DD924 commented 9 months ago

$response = Http::withCookies(array $cookies, string $domain)->post(...);

还在吗 亲

DD924 commented 9 months ago

$response = Http::withCookies(array $cookies, string $domain)->post(...);

怎么弄啊