Skip to content

Commit 3f6d7bb

Browse files
committed
Añado client.http para hacer peticiones al backend
1 parent e6b92c3 commit 3f6d7bb

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
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+
}

0 commit comments

Comments
 (0)