---
id: "P:cAlgo.API.HttpResponse.Body"
kind: "property"
type: "T:cAlgo.API.HttpResponse"
url: "https://help.ctrader.com/ctrader-algo/references/HTTP/HttpResponse/Body/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# HttpResponse.Body

Member of [HttpResponse](https://help.ctrader.com/ctrader-algo/references/HTTP/HttpResponse/index.md).

## Body

Gets the body of the response.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string Body {get;}
```

Python:

```python
httpResponse.Body: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var response = Http.Get("https://api.example.com/quotes/EURUSD");
if (response.IsSuccessful)
    Print("Response body: {0}", response.Body);
```

Python:

```python
response = api.Http.Get("https://api.example.com/quotes/EURUSD")
if response.IsSuccessful:
    api.Print(f"Response body: {response.Body}")
```

