# January 15, 2026

## Languages prop for EndpointRequestSnippet

The `<EndpointRequestSnippet>` component now supports a `languages` prop to control which languages appear in the dropdown and their order. You can also include `payload` to show the raw JSON request body or query parameters.

```jsx Markdown
<EndpointRequestSnippet 
  endpoint="POST /plant" 
  languages={["curl", "python", "payload"]}
/>
```

When `languages` is not specified, all available languages are shown with `payload` appearing last.

Learn more about the [Endpoint request snippet](/learn/docs/writing-content/components/request-snippet) component.