---
title: "http_res_cookie | Speedscale Docs"
description: "Extract HTTP cookies from RRPair requests using the http_res_cookie function in Speedscale to enhance your API testing and traffic replay capabilities"
canonical: "https://docs.speedscale.com/guides/transformation/extractors/http_res_cookie/"
---

[Documentation index](https://docs.speedscale.com/guides/llms.txt) | [Markdown](https://docs.speedscale.com/guides/transformation/extractors/http_res_cookie/index.md) | [Canonical page](https://docs.speedscale.com/guides/transformation/extractors/http_res_cookie/)

# http\_res\_cookie

<a id="purpose"></a>

### Purpose

**http\_res\_cookie** extracts an HTTP cookie from the request portion of the RRPair.

<a id="usage"></a>

### Usage

```json
"type": "http_res_cookie",
"config": {
    "name": "<cookie>"
}
```

*   **name** - the case-sensitive name of the HTTP cookie to extract

<a id="example"></a>

### Example

```json
"type": "http_res_cookie",
"config": {
    "name": "search_index"
}
```
