-
Notifications
You must be signed in to change notification settings - Fork 1
/
adv_works.postman_collection.json
56 lines (56 loc) · 1.17 KB
/
adv_works.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
{
"info": {
"_postman_id": "6f7d00c6-2994-44db-9a03-20ef2d6e1b3c",
"name": "adv_works",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "http://localhost:8080/api/reviews",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "advPass",
"type": "string"
},
{
"key": "username",
"value": "advUser",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"John Smith\",\n \"email\": \"[email protected]\",\n \"productid\": 701,\n \"rating\": 3,\n \"review\": \"Not the prettiest one!\"\n}"
},
"url": {
"raw": "http://localhost:8080/api/reviews",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"reviews"
]
},
"description": "New product review request"
},
"response": []
}
]
}