Registration
how to work?
create a register form

add an onclick event handler on the submit 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 submit button, you will get a response in your console with a 201
status code telling you the POST
request was successful created.
POST
https://us-central1-appgregator.cloudfunctions.net/api/education/edutama/frontend/academy/user-registration/
Headers
Name
Type
Description
x-api-key*
String
wkFBUJNQV;C
{
"status": true,
"message": "Successfully create user",
"data": "680|UEdZhh4nXUzDl9j5BQ7hKwlGWmcNRbVVyWP25g5a"
}
{
"name":"qantor.co.id",
"platform_id":4,
"connection_name":"entrepreneurs.id-02",
"user_name": "imam2",
"email": "sschouse@gmail.com",
"password": "qwerty",
"package": 16,
"referal": "",
"profesi" : "",
"birth_date": "2022-06-06"
}
Last updated