echo
POST1 เครดิตA reference endpoint that returns the JSON body you sent, plus a server-side timestamp. Useful for testing your client setup, latency, and credit accounting before integrating the production endpoints.
เอ็นด์พอยต์
POST https://x114.org/api/v1/echoเนื้อหาคำขอ
ส่งเป็น JSON ในเนื้อหา POST
| Name | Type | Required | Description |
|---|---|---|---|
| any | object | array | string | number | boolean | null | optional | Any JSON value. The server returns it verbatim. |
เนื้อหาการตอบสนอง
JSON ที่ส่งคืนเมื่อสำเร็จ (HTTP 200)
| Name | Type | Required | Description |
|---|---|---|---|
| ok | boolean | required | Always true on success. |
| receivedAt | string (ISO 8601) | required | Server timestamp when the request was received. |
| body | unknown | required | The original JSON body you sent. |
ตัวอย่าง
curl -X POST https://x114.org/api/v1/echo \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"hello":"world"}'