-
base url:
https://moveflow-ai-api-backend.vercel.app/
or
https://chat-api.moveflow.xyz
- Method: POST
- URL:
- :
https://moveflow-ai-api-backend.vercel.app/api/sarah
- :
- Params account: string, default: '0x' msg: string, default: 'hello'
{
"account": "0x1234",
"msg": "hello "
}
{
"code": 200, // status code, 200 is success,or other code is failed
"msg": "hello , I'm Sarah ... "
}
- Method: POST
- URL:
- :
https://moveflow-ai-api-backend.vercel.app/api/jimmy
- :
- Params account: string, default: '0x' msg: string, default: 'hello'
ex:
{
"account": "0x1234",
"msg": "hello "
}
{
"code": 200, // status code, 200 is success,or other code is failed
"msg": "hello , I'm jimmy ... "
}
ex:
```js
let res = await fetch("http://localhost:3000/api/chat/sarah", {
"body": "{\"account\":\"0x\",\"msg\":\"hello\"}",
"method": "POST",
});
```