42 lines
706 B
HTTP
42 lines
706 B
HTTP
POST http://localhost:8080/api/v1/register
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"firstName":"joko",
|
|
"lastName":"susilo",
|
|
"email":"joko@gmail.com",
|
|
"password":"x123"
|
|
}
|
|
|
|
####
|
|
POST http://localhost:8080/api/v1/login
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"email":"joko@gmail.com",
|
|
"password":"sas31"
|
|
}
|
|
|
|
|
|
###
|
|
# GET http://localhost:8080/api/v1/users/1
|
|
# Authorization: {{token}}
|
|
|
|
|
|
###
|
|
# POST http://localhost:8080/api/v1/auth/generateauthcode
|
|
# Content-Type: application/json
|
|
|
|
# {
|
|
# "email":"adib@sismedika.com",
|
|
# "type":"google"
|
|
# }
|
|
|
|
###
|
|
# POST http://localhost:8080/api/v1/auth/login
|
|
# Content-Type: application/json
|
|
|
|
# {
|
|
# "email":"joko@gmail.com",
|
|
# "password":"sas321"
|
|
# } |