-
Notifications
You must be signed in to change notification settings - Fork 3
/
CognitivePipeline.postman_collection.json
69 lines (69 loc) · 1.6 KB
/
CognitivePipeline.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
{
"info": {
"_postman_id": "4daa7965-5e1e-4540-82b5-d56421f2f723",
"name": "CognitivePipeline",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Local",
"item": [
{
"name": "GetAvailableServices",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:7071/api/GetAvailableServices",
"protocol": "http",
"host": [
"localhost"
],
"port": "7071",
"path": [
"api",
"GetAvailableServices"
]
}
},
"response": []
},
{
"name": "NewCognitiveReq",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "info",
"value": "{\n \"ownerId\": \"783ed915-8e5d-418b-ade0-8cc5f217ecf7\",\n \"fileName\": \"mosaif_id.png\",\n \"mediaType\": \"Image\",\n \"cognitivePipelineActions\": [\n {\n \"serviceType\": \"OCR\"\n },\n {\n \"serviceType\": \"FaceDetection\"\n }\n ],\n \"origin\": \"Postman\"\n}",
"type": "text"
},
{
"key": "data",
"type": "file",
"src": "/C:/Biz/Repos/N/ContosoShopManager/Res/mosaif_id.png"
}
]
},
"url": {
"raw": "http://localhost:7071/api/NewCognitiveReq",
"protocol": "http",
"host": [
"localhost"
],
"port": "7071",
"path": [
"api",
"NewCognitiveReq"
]
}
},
"response": []
}
]
}
]
}