-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequests.http
More file actions
81 lines (51 loc) · 1.71 KB
/
Copy pathrequests.http
File metadata and controls
81 lines (51 loc) · 1.71 KB
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
GET http://localhost:9080/cs-go/api/users
###
GET http://localhost:9080/cs-go/api/users/c4804e0f-769e-4ab9-9ebe-0578fb4f00a6
###
GET http://localhost:9080/cs-go/api/users/81e1c2a9-7f57-439b-b53d-6db88b071e4e
###
GET http://localhost:9080/cs-go/api/users/cc0b0577-bb6f-45b7-81d6-3db88e6ac19f
###
PUT http://localhost:9080/cs-go/api/users/cc0b0577-bb6f-45b7-81d6-3db88e6ac19f
Content-Type: application/json
{
"login": "mati",
"birthDate": "2002-01-07",
"name": "janek",
"surname": "wesoly",
"password": "asdsd",
"email": "sdasd"
}
###
PATCH http://localhost:9080/cs-go/api/users/cc0b0577-bb6f-45b7-81d6-3db88e6ac19f
Content-Type: application/json
{
"login": "janeczek",
"birthDate": "1999-09-09",
"name": "janek",
"surname": "smutny",
"password": "mocnehaslo",
"email": "sieeema"
}
###
#DELETE http://localhost:9080/cs-go/api/users/ed6cfb2a-cad7-47dd-9b56-9d1e3c7a4197
###
GET http://localhost:9080/cs-go/api/users/81e1c2a9-7f57-439b-b53d-6db88b071e4e/avatar
###
GET http://localhost:9080/cs-go/api/users/c4804e0f-769e-4ab9-9ebe-0578fb4f00a6/avatar
###
PUT http://localhost:9080/cs-go/api/users/c4804e0f-769e-4ab9-9ebe-0578fb4f00a6/avatar
Content-Type: multipart/form-data; boundary=boundary
--boundary
Content-Disposition: form-data; name="avatar"; filename="sigrid.png'
< src/main/resources/test/avatar/sigrid.png
--boundary--
###
PATCH http://localhost:9080/cs-go/api/users/c4804e0f-769e-4ab9-9ebe-0578fb4f00a6/avatar
Content-Type: multipart/form-data; boundary=boundary
--boundary
Content-Disposition: form-data; name="avatar"; filename="zereni.png'
< src/main/resources/test/avatar/zereni.png
--boundary--
###
DELETE http://localhost:9080/cs-go/api/users/c4804e0f-769e-4ab9-9ebe-0578fb4f00a6/avatar