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

15
rest-files/auth.http Normal file
View File

@@ -0,0 +1,15 @@
POST http://localhost:8080/westone/api/v1/auth/login
Content-Type: application/json
{
"email":"joko@gmail.com",
"password":"sas321"
}
####
# POST http://localhost:8080/api/v1/auth/google/linking
# Content-Type: application/json
# {
# "code":"xPkMIa"
# }

20
rest-files/patient.http Normal file
View File

@@ -0,0 +1,20 @@
POST http://localhost:8080/westone/api/v1/mdpatient/searchpatient
Content-Type: application/json
Authorization: {{token}}
{
"keyword":"wahyu+",
"page":1,
"perpage":10
}
####
GET http://localhost:8080/westone/api/v1/mddoctor/searchdoctor
Content-Type: application/json
Authorization: {{token}}
{
"keyword":"",
"page":1,
"perpage":10
}

3
rest-files/person.http Normal file
View File

@@ -0,0 +1,3 @@
GET http://localhost:8080/api/v1/mdperson/get/1
Content-Type: application/json
Authorization: {{token}}

View File

@@ -0,0 +1,12 @@
GET http://devcpone.aplikasi.web.id:9090/westone/api/v1/termicheck
Content-Type: application/json
#####
GET http://localhost:8080/westone/api/v1/terminology/getdisplay
Content-Type: application/json
Authorization: {{token}}
{
"code": "Bunak",
"codesystem": "xhis.code.etnicity"
}

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"
# }