- commit
- 4b143a6
- parent
- c099930
- author
- cheddar
- date
- 2025-02-11 18:22:18 +0100 CET
Reformat this
1 files changed,
+4,
-1
M
main.go
M
main.go
+4,
-1
1@@ -30,7 +30,10 @@ func main() {
2 log.Fatal(err)
3 }
4
5- resp, err := client.Post("http://localhost:8080/post", "application/json", bytes.NewBuffer(json_data))
6+ resp, err := client.Post(
7+ "http://localhost:8080/post",
8+ "application/json",
9+ bytes.NewBuffer(json_data))
10
11 if err != nil {
12 log.Fatal(err)