Send Cookies Example [PHP Code]

To send cookies to the server, you need to add the "Cookie: name=value" header to your request. To send multiple Cookies in one cookie header, you can separate them with semicolons. In this Send Cookies Example, we send HTTP cookies in the request header to the Reqbin echo URL. Click Send to execute "Send Cookies" online and see the results. The PHP code was automatically generated for the Send Cookies example.
Loading...