# zed_extension_api: Add \`fetch\` \(\#13716\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3419f5fc420302008e96191df18f3b7032342e66)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3419f5fc420302008e96191df18f3b7032342e66

Requested commit: 3419f5fc420302008e96191df18f3b7032342e66

Commit: 3419f5fc420302008e96191df18f3b7032342e66

Tree: 48b54349176d6e243e0c7047915165e5ed133684

Author: Marshall Bowers

Committer: GitHub

## Message

```
zed_extension_api: Add `fetch` (#13716)

This PR adds a new `fetch` function to the `zed_extension_api` to allow
fetching a URL through the Wasm host.

Currently we only support GET requests and return the response body as a
string.

Release Notes:

- N/A
```

## Parents

- [e7214a429d2ada250d122ba18192c7a83d51a7d1](https://git.cafe/gitcafe/zed/commit/e7214a429d2ada250d122ba18192c7a83d51a7d1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3419f5fc420302008e96191df18f3b7032342e66?format=markdown)
