<RequestExample> and <ResponseExample> components stick code blocks to the top-right of desktop pages while scrolling, appearing as regular code blocks on mobile devices.

Request Example

<RequestExample> works like CodeGroup but displays content in the right sidebar. Add a name for each code block inside.

Response Example

<ResponseExample> functions identically but appears below <RequestExample>.

Was this page helpful?