Skip to content

Commit cc279e1

Browse files
authored
Merge pull request #64 from Lemoncode/update-material-2-edition/docker
Update material 2 edition/docker
2 parents 457f6b1 + 9a691e6 commit cc279e1

File tree

5 files changed

+56
-315
lines changed

5 files changed

+56
-315
lines changed

01-contenedores/contenedores-vi/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.9" # optional since v1.27.0
1+
version: "3.9"
22
services:
33
db:
44
image: mysql:5.7
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
GET http://localhost:8080/api/topics HTTP/1.1
2+
3+
###
4+
POST http://localhost:8080/api/topics HTTP/1.1
5+
content-type: application/json
6+
7+
{
8+
"name": "Docker images"
9+
}
10+
11+
###
12+
13+
POST http://localhost:8080/api/topics HTTP/1.1
14+
content-type: application/json
15+
16+
{
17+
"name": "Docker volumes"
18+
}
19+
20+
###
21+
22+
POST http://localhost:8080/api/topics HTTP/1.1
23+
content-type: application/json
24+
25+
{
26+
"name": "Docker networking"
27+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
GET http://localhost:5000/api/topics HTTP/1.1
2+
3+
###
4+
POST http://localhost:5000/api/topics HTTP/1.1
5+
content-type: application/json
6+
7+
{
8+
"TopicName": "Docker images"
9+
}
10+
11+
###
12+
13+
POST http://localhost:5000/api/topics HTTP/1.1
14+
content-type: application/json
15+
16+
{
17+
"TopicName": "Docker volumes"
18+
}
19+
20+
###
21+
22+
POST http://localhost:5000/api/topics HTTP/1.1
23+
content-type: application/json
24+
25+
{
26+
"TopicName": "Docker networking"
27+
}

0 commit comments

Comments
 (0)