问题描述
在这页: http://www.easemob.com/docs/rest/userapi/#im中, 教程告诉我们用curl -X POST -H "Authorization: Bearer YWMt39RfMMOqEeKYE_GW7tu81AAAAT71lGijyjG4VUIC2AwZGzUjVbPp_4qRD5k" -i "https://a1.easemob.com/easemob-demo/chatdemoui/users" -d '{"username":"jliu","password":"123456"}'此处有误, 少了两个双引号, 应该是:curl -X POST -H "Authorization": "Bearer YWMt39RfMMOqEeKYE_GW7tu81AAAAT71lGijyjG4VUIC2AwZGzUjVbPp_4qRD5k" -i"https://a1.easemob.com/easemob-demo/chatdemoui/users" -d '{"username":"jliu","password":"123456"}'
解决方案
好像无误...
时间: 2024-09-13 08:43:33