Javascript 如何使用ParseReact框架创建新用户

Javascript 如何使用ParseReact框架创建新用户,javascript,parse-platform,reactjs,Javascript,Parse Platform,Reactjs,我正在学习新的ParseReact框架,我想知道如何创建用户对象 这就是我所拥有的: ParseReact.Mutation.Create('User'){ 用户名:“johndoe”, 密码:“测试”, 电邮:'john@doe.com', emailVerified:'假' }).dispatch(); 我收到一条“POST 400(错误请求)”错误消息 参考资料:使用“\u User”而不是“User” ParseReact.Mutation.Create('_User', {

我正在学习新的ParseReact框架,我想知道如何创建用户对象

这就是我所拥有的:

ParseReact.Mutation.Create('User'){
用户名:“johndoe”,
密码:“测试”,
电邮:'john@doe.com',
emailVerified:'假'
}).dispatch();
我收到一条“POST 400(错误请求)”错误消息


参考资料:

使用“\u User”而不是“User”

  ParseReact.Mutation.Create('_User', {
    username: 'johndoe',
    password: 'test',
    email: 'john@doe.com',
    emailVerified: 'false'
  }).dispatch()
  .then(() => {
    console.log('ok');
  })
  .fail((error) => {
    console.log(error);
  });