first commit
This commit is contained in:
42
rest-files/user.http
Normal file
42
rest-files/user.http
Normal file
@@ -0,0 +1,42 @@
|
||||
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"
|
||||
# }
|
||||
Reference in New Issue
Block a user