React & backendless

I coded a simple login page using react

And added the api info

installed npm i backendless

What is the next step? How to post?

Hello @l_r,

to login user you should use Login API:

Backendless.UserService.login(email, password)
 .then(loggedInUser => {
   console.log(loggesInUser)
 })
 .catch(error => {
   console.log(error.message)
 })

Regards,
Stanislaw

1 Like