用于生成 cURL 命令的组件。
Loading...
安装
使用方法
import { CurlGenerator } from "@/components/pivot/curl-generator";
<CurlGenerator />
示例
基本用法
<CurlGenerator />
API 参考
Props
属性 | 类型 | 默认值 | 描述 |
---|---|---|---|
className | string | - | 额外的 CSS 类名 |
Search for a command to run...
curl -X post "https://api.example.com/users"
-H "Content-Type: application/json"?page=value