HTTP request rendered as a curl invocation with method, URL, headers, and body across continued lines.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Code11 } from "@/components/beste/piece/code11";
<Code11
method="POST"
url="https://api.beste.co/v1/users"
headers={[
{
"name": "Authorization",
"value": "Bearer sk_live_..."
},
{
"name": "Content-Type",
"value": "application/json"
}
]}
body="{\"name\": \"Ada Lovelace\"}"
/>