-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFileUploadAPI.postman_collection.json
71 lines (71 loc) · 1.35 KB
/
FileUploadAPI.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
{
"info": {
"_postman_id": "3e8a0cc7-4e30-46cd-bb63-97228f187c45",
"name": "FileUploadAPI",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "27489852"
},
"item": [
{
"name": "SingleFileUpload",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": "/D:/API Testing & Automation/JSON Files/SampleTesting1.json"
}
]
},
"url": {
"raw": "http://localhost:8080/uploadFile",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"uploadFile"
]
}
},
"response": []
},
{
"name": "MultipleFilesUpload",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "files",
"type": "file",
"src": [
"/D:/API Testing & Automation/JSON Files/SampleTesting1.json",
"/D:/API Testing & Automation/JSON Files/User.json"
]
}
]
},
"url": {
"raw": "http://localhost:8080/uploadMultipleFiles",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"uploadMultipleFiles"
]
}
},
"response": []
}
]
}