-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostman
68 lines (68 loc) · 1.44 KB
/
postman
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
{
"info": {
"_postman_id": "8fc0b0ee-ef0b-4494-b193-0f35aa4ba7c9",
"name": "ML",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "cover_type_app",
"item": [
{
"name": "Input example",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://127.0.0.1:5000/input/example",
"protocol": "http",
"host": [
"127",
"0",
"0",
"1"
],
"port": "5000",
"path": [
"input",
"example"
]
}
},
"response": []
},
{
"name": "predict",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"model_name\": \"heuristics\",\r\n \"input\": [[2596, 51, 3, 258, 0, 510, 221, 232, 148, 6279, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\r\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,\r\n 0, 0, 0, 0, 0]]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://127.0.0.1:5000/predict",
"protocol": "http",
"host": [
"127",
"0",
"0",
"1"
],
"port": "5000",
"path": [
"predict"
]
}
},
"response": []
}
]
}
]
}