← 返回接口列表
/api/hitokoto
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
charset |
string | 否 | 编码方式: utf-8 / gbk |
encode |
string | 否 | 返回格式: json / js / 空 |
调用示例
浏览器直接打开https://www.yuxli.cn/api/hitokoto?charset=utf-8&encode=1
curl 命令行curl "https://www.yuxli.cn/api/hitokoto?charset=utf-8&encode=1"
返回示例
正在获取实时返回…
在线测试
填好参数点击发送,即刻看到真实返回(图片会直接预览,JSON / 文本原样展示)。接口免密、同源调用。

