# httpGet

Make a synchronous GET request.

```js
httpGet(url, headers?)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `url` | string | HTTP(S) URL. |
| `headers` | object | Optional request headers. |

## Returns

Response text or null; same behavior as httpRequest.

## Example

```js
console.log(httpGet("https://example.com"));
```

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
