add: login & token validation tapi belum connect ke DB
This commit is contained in:
@@ -1,18 +1,37 @@
|
||||
### Local OHIF Proxy Test File
|
||||
# @baseUrl = http://localhost:5555
|
||||
# @baseUrl = http://devone.aplikasi.web.id:5555
|
||||
@baseUrl = http://152.42.173.210:5555
|
||||
@token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMiIsImVtYWlsIjoicGF0aWVudCIsInJvbGUiOiJwYXRpZW50IiwidG9rZW5fdHlwZSI6ImFjY2VzcyIsImV4cCI6MTc0NjM2NDczMiwiaWF0IjoxNzQ2MzYyOTMyfQ.4IGGV77jnewQVXOCuFWmcx4X7EMMxx341j6DeNKYcFY
|
||||
@baseUrl = http://localhost:5555
|
||||
|
||||
# @baseUrl = http://devone.aplikasi.web.id:5555
|
||||
# @baseUrl = http://152.42.173.210:5555
|
||||
|
||||
### 1. Health Check
|
||||
# Verifies that the proxy server is running
|
||||
GET {{baseUrl}}/health
|
||||
Accept: application/json
|
||||
|
||||
### Login Success
|
||||
POST {{baseUrl}}/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "patient",
|
||||
"password": "patient"
|
||||
}
|
||||
|
||||
### Refresh TOken
|
||||
POST {{baseUrl}}/auth/refresh
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"refresh"
|
||||
}
|
||||
|
||||
### 2. QIDO-RS: Search for Studies
|
||||
# Returns all studies (should return a list of DICOM studies if any exist)
|
||||
GET {{baseUrl}}/dicomWeb/studies
|
||||
Accept: application/dicom+json
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
### 3. QIDO-RS: Search for Studies with Patient Name
|
||||
# Returns studies matching patient name (replace SMITH with a name in your dataset)
|
||||
@@ -49,6 +68,7 @@ Accept: application/dicom+json
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID and SOP_INSTANCE_UID with actual values
|
||||
GET {{baseUrl}}/dicomWeb/studies/1.2.826.0.1.3680043.9.7307.1.202503196393.01/series/1.2.826.0.1.3680043.2.1545.1.2.1.7.20250319.100353.734.4/metadata
|
||||
Accept: */*
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
### 10. WADO-RS: Retrieve Instance
|
||||
# Replace STUDY_INSTANCE_UID, SERIES_INSTANCE_UID and SOP_INSTANCE_UID with actual values
|
||||
@@ -70,3 +90,5 @@ Accept: image/jpeg
|
||||
|
||||
####
|
||||
GET {{baseUrl}}/dicomWeb/studies?limit=101&offset=0&fuzzymatching=true&includefield=00081030,00080060&StudyInstanceUID=1.2.826.0.1.3680043.9.7307.1.202503196393.01
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user