-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.http
107 lines (62 loc) · 1.83 KB
/
test.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
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
###############
### newgame ###
###############
POST http://localhost:8080/games
Content-Type: application/json
{"code": "newgame", "playerNumber": 3}
###
POST http://localhost:8080/games/newgame/players
Content-Type: application/json
{"playerName": "Lorem", "wishedCode": "lorem"}
###
POST http://localhost:8080/games/newgame/players
Content-Type: application/json
{"playerName": "Ipsum", "wishedCode": "ipsum"}
###
POST http://localhost:8080/games/newgame/players
Content-Type: application/json
{"playerName": "Dolor", "wishedCode": "dolor"}
###
POST http://localhost:8080/games/newgame/players/lorem/inputs
Content-Type: application/json
{"input": "Islande"}
###
POST http://localhost:8080/games/newgame/players/ipsum/inputs
Content-Type: application/json
{"input": "Ukraine"}
###
POST http://localhost:8080/games/newgame/players/dolor/inputs
Content-Type: application/json
{"input": "Grande-Bretagne"}
###
###############
### oldgame ###
###############
POST http://localhost:8080/games
Content-Type: application/json
{"code": "oldgame", "playerNumber": 3}
###
POST http://localhost:8080/games/oldgame/players
Content-Type: application/json
{"playerName": "Sit", "wishedCode": "sit"}
###
POST http://localhost:8080/games/oldgame/players
Content-Type: application/json
{"playerName": "Amet", "wishedCode": "amet"}
###
POST http://localhost:8080/games/oldgame/players
Content-Type: application/json
{"playerName": "Donec", "wishedCode": "donec"}
###
POST http://localhost:8080/games/oldgame/players/sit/inputs
Content-Type: application/json
{"input": "Grande-Bretagne"}
###
POST http://localhost:8080/games/oldgame/players/amet/inputs
Content-Type: application/json
{"input": "Islande"}
###
POST http://localhost:8080/games/oldgame/players/donec/inputs
Content-Type: application/json
{"input": "Grande-Bretagne"}
###