first commit
This commit is contained in:
15
rest-files/auth.http
Normal file
15
rest-files/auth.http
Normal 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
20
rest-files/patient.http
Normal 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
3
rest-files/person.http
Normal file
@@ -0,0 +1,3 @@
|
||||
GET http://localhost:8080/api/v1/mdperson/get/1
|
||||
Content-Type: application/json
|
||||
Authorization: {{token}}
|
||||
12
rest-files/terminology.http
Normal file
12
rest-files/terminology.http
Normal 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
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