-
Notifications
You must be signed in to change notification settings - Fork 0
/
collection postman
135 lines (135 loc) · 3.2 KB
/
collection postman
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"info": {
"_postman_id": "4c3de60d-bf60-49e8-a7b2-ce0bf9ed5164",
"name": "New Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25722129"
},
"item": [
{
"name": "recherche concert avec id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8081/tconcerts",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tconcerts"
]
}
},
"response": []
},
{
"name": "recherche tout les concerts",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8081/tconcerts/1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tconcerts",
"1"
]
}
},
"response": []
},
{
"name": "recherche toutes les soiree",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8081/tsoiree",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tsoiree"
]
}
},
"response": []
},
{
"name": "recherche toutes les groupes",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8081/tgroupes",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tgroupes"
]
}
},
"response": []
},
{
"name": "ajouter un concert",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": " {\r\n \"nom\": \"Concert de rock\",\r\n \"date\": \"2023-03-15\",\r\n \"heure\": \"22:30:00\",\r\n \"duree\": \"01:00:00\",\r\n \"groupe\": {\r\n \"grpid\": 1,\r\n \"grp_nom\": \"Les Beatles\",\r\n \"prenom\": \"John\",\r\n \"pseudo\": \"Lennon\",\r\n \"ville\": \"Liverpool\",\r\n \"age\": \"30\",\r\n \"nb\": \"4\"\r\n },\r\n \"soiree\": {\r\n \"soi_id\": 1,\r\n \"nom\": \"Concert des Beatles\",\r\n \"salleconcert\": {\r\n \"sac_id\": 1,\r\n \"nom\": \"Le Zénith\",\r\n \"adresse\": \"211 Avenue Jean Jaurès, 75019 Paris\",\r\n \"capacite\": 6000,\r\n \"ges_nom\": \"Live Nation\",\r\n \"ges_association\": \"Association pour la gestion de la salle de concerts\"\r\n }\r\n }\r\n }",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8081/tconcerts",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tconcerts"
]
}
},
"response": []
},
{
"name": "supprimer un concert avec id",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "http://localhost:8081/tconcerts/6",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"tconcerts",
"6"
]
}
},
"response": []
}
]
}