| title | Request and response examples | ||
|---|---|---|---|
| description | Pin API examples beside the page content | ||
| product | Context7 | ||
| section | docs | ||
| source_url | https://context7.com/docs/docs7/components/examples | ||
| fetched | 2026-09-26 | ||
| tags |
|
Pin API examples beside the page content
Wrap one or more code fences in <RequestExample> or <ResponseExample>.
<RequestExample>
```bash cURL
curl https://api.example.com/users
```
</RequestExample>
<ResponseExample>
```json 200
{"items": []}
```
</ResponseExample>See the example in the right sidebar. On mobile, it appears inline below.
```bash cURL curl https://api.example.com/users ``` ```json 200 {"items": []} ```