first commit

This commit is contained in:
Sas Andy
2024-12-09 09:51:19 +07:00
commit ecc5dfd9c0
69 changed files with 5365 additions and 0 deletions

42
rest-files/user.http Normal file
View 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"
# }