-
Notifications
You must be signed in to change notification settings - Fork 0
/
go_rest-endpoints.http
51 lines (40 loc) · 2.38 KB
/
go_rest-endpoints.http
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
###
GET http://localhost:4041/authors
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
GET http://localhost:4041/articles
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
GET http://localhost:4041/poets
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
GET http://localhost:4041/clip?clipId=1001
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
GET http://localhost:4041/quiz?quizId=1001
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
GET http://localhost:4041/user
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
PATCH http://localhost:4041/authors?authorId=1001
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
PATCH http://localhost:4041/articles?articleId=2001
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
PATCH http://localhost:4041/poets?poetId=3001
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY
###
DELETE http://localhost:4041/user
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTI1NjIxNjEsInBob25lIjoiNjY2MTM3ODgwOSIsInVpZCI6MjN9.7iSbMyxs3iyDhKezatRUguPqp8YJ4PCzKyfEPA9-OiY