Sign In

How to work?

create a sign authorization form (login form)

add an onclick event handler on the login button, where shall I declare the onClick event function which calls axios or accepts variable in this code

Understanding Axios POST requests

If you click the login button, you will get a response in your console with a 200 status code telling you the POST request was successful.

POST https://us-central1-appgregator.cloudfunctions.net/api/education/edutama/frontend/academy/user-signin/

Headers

Name
Type
Description

x-api-key*

String

wkFBUJNQV;C

{
    "status": true,
    "message": "Successfully logged in",
    "data": "682|F6VMtUF1nTDyJRHWPUlAy0gJJZoCIZHidlPRzwGV"
}
{
    "name":"qantor.co.id",
    "platform_id":4,
    "connection_name":"entrepreneurs.id-02",
    "email": "sschouse@gmail.com",
    "password": "qwerty"
}

Last updated