Authenticate a session with Cookie?

已查看 12 次
跳至第一个未读帖子

John Simms

未读,
2018年5月25日 03:54:542018/5/25
收件人 Guzzle - PHP HTTP client and REST client framework
I working with an API, that only sends back a cookie for authentication.
Specifically, I get a "Set-Cookie" header, which is an array with 2 values.
How can I use Guzzle to authenticate subsequent calls to the API using the cookie information? Is that what's meant to be done?
回复全部
回复作者
转发
0 个新帖子