Send Cookies Example [JavaScript/AJAX 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 are sending HTTP cookies to the ReqBin echo URL. Click Send to execute Send Cookies example online and see the results. The JavaScript/AJAX code was automatically generated for the Send Cookies example.
Loading...