We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is my code:
Parse.Cloud.define('register',(req,res) => { var email = req.params.email var password = req.params.password var name = req.params.name var user = new Parse.User() user.set('email',email) user.set('password',password) user.set('username',name) user.signUp(null, { success: (user) => { res.success('success') }, error: (user,error) => { res.error(error) } })
Got the following error message:
{ "code": 141, "error": { "code": 100, "message": "XMLHttpRequest failed: "Unable to connect to the Parse API"" } }
Why is that? I've set X-Parse-Application-Id in my header already.
The text was updated successfully, but these errors were encountered:
Maybe I should use RestAPI instead of JavaScript SDK?
Sorry, something went wrong.
Found the issue. The serverUrl I used in parse-example is incorrect. After I changed to correct wrong, everything is fine.
No branches or pull requests
Here is my code:
Got the following error message:
Why is that? I've set X-Parse-Application-Id in my header already.
The text was updated successfully, but these errors were encountered: