> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Languages prop for EndpointRequestSnippet

components, api-reference

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.

**`Markdown`**

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

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

Read the docs