cURL
curl --request POST \ --url https://api.example.com/api/chat \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "message": "<string>", "siteId": "<string>" } '
既存のサイトをAIで更新
Bearer xxx
curl -X POST https://app.hirameki-web.com/api/chat \ -H "Authorization: Bearer {token}" \ -H "Content-Type: application/json" \ -d '{ "message": "ヘッダーの色を青に変更してください", "siteId": "your-site-id" }'
{ "success": true, "reply": "ヘッダーの色を青に変更しました。" }