注册

授权注册示例错误

在这页: 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"}'







已邀请:
好像无误...

要回复问题请先登录注册