-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.http
54 lines (44 loc) · 1.1 KB
/
example.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
GET http://localhost:53795/django/iris/
Accept: application/json
###
GET http://localhost:53795/django/interop/
Accept: application/json
###
GET http://localhost:53795/django/api/posts/
Accept: application/json
###
GET http://localhost:53795/django/api/posts/1
Accept: application/json
###
POST http://localhost:53795/django/api/posts/
Content-Type: application/json
Accept: application/json
Authorization: Basic SuperUser:SYS
{
"title": "foo",
"content": "bar",
"comments": []
}
###
GET http://localhost:8001/api/patients/
Content-Type: application/json
Accept: application/json
Authorization: Basic SuperUser:SYS
###
GET http://localhost:8001/api/patients/1
Content-Type: application/json
Accept: application/json
Authorization: Basic SuperUser:SYS
###
GET http://localhost:8001/api/genomes/1
Content-Type: application/json
Accept: application/json
Authorization: Basic SuperUser:SYS
###
POST http://localhost:8001/api/pharmacogenomics/get-pharmacogenomics-from-genome/
Content-Type: application/json
Accept: application/json
Authorization: Basic SuperUser:SYS
{
"detectedGenes": ["VKORC1", "CYP3A5"]
}