尝试创建管理员用户并拿管理员来修改其他用户的信息时
request header:
Accept:*/*
Accept-Encoding:gzip, deflate
Accept-Language:zh-CN,zh;q=0.8
Connection:keep-alive
Content-Length:335
Content-Type:text/plain
Host:cn.avoscloud.com
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
request payload:
{"username":"xxx","email":"xxx","_method":"PUT","_ApplicationId":"ApplicationId","_ApplicationKey":"_ApplicationKey","_ClientVersion":"js0.5.4","_InstallationId":"ce5c0b35-878c-893d-cb80-96c1c4eac205","_SessionToken":"si2vggragqz73ls2325c122mi"}
收到的回复:
POST https://cn.avoscloud.com/1.1/classes/_User/5583f372e4b096d588a86a39 403 (Forbidden)
AV.Error {code: 206, message: "The user cannot be altered by a client without the session."}
跪求各位老大HELP ME!!!