-
Notifications
You must be signed in to change notification settings - Fork 10
/
fastapi-redis.postman_collection.json
82 lines (82 loc) · 1.75 KB
/
fastapi-redis.postman_collection.json
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"info": {
"_postman_id": "42b742c0-8b40-44d6-b4c7-6de4e3050b3d",
"name": "fastapi-redis",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "API",
"item": [
{
"name": "Add SMILES to Redis Hash",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "file",
"file": {
"src": "/Users/kuba/Downloads/PubChem_compound_text_covid-19_records.json"
}
},
"url": {
"raw": "http://0.0.0.0:8080/smiles/add-to-hash?redis_hash=covid-19",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"smiles",
"add-to-hash"
],
"query": [
{
"key": "redis_hash",
"value": "covid-19"
}
]
}
},
"response": []
},
{
"name": "Compare SMILES code to Redis Hash",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://0.0.0.0:8080/smiles/compare-to-hash?compound=CCC(CC)COC(=O)[C@H](C)N[P@](=O)(OC[C@@H]1[C@H]([C@H]([C@](O1)(C%23N)C2=CC=C3N2N=CN=C3N)O)O)OC4=CC=CC=C4&redis_hash=covid-19",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"smiles",
"compare-to-hash"
],
"query": [
{
"key": "compound",
"value": "CCC(CC)COC(=O)[C@H](C)N[P@](=O)(OC[C@@H]1[C@H]([C@H]([C@](O1)(C%23N)C2=CC=C3N2N=CN=C3N)O)O)OC4=CC=CC=C4"
},
{
"key": "redis_hash",
"value": "covid-19"
}
]
}
},
"response": []
}
]
}
]
}