var user = new Backendless.User(); user.email = this.state.email; user.password = this.state.password; user.firstName = this.state.firstName; user.lastName = this.state.lastName; Backendless.UserService.register(user);
When running the code I get an error saying “Synchronous http requests are not supported”, stemming from the last line in the above code. I’m not quite sure what that means. Is that not the proper way to registert a user? Am I doing something wrong in my code? The mention of synchronous requests makes me think I have to use something that returns a promise, but there was no mention of that in the documentation I read. I’ve attached a screenshot of the error that points to some lines in the Backendless code, in case that helps.
Thanks in advance.