Fix missing content type (#2289)

This commit is contained in:
Defoo Li
2021-09-30 12:15:09 +01:00
committed by GitHub
parent 6dc25053ea
commit a315fc2dda
+1 -1
View File
@@ -25,5 +25,5 @@ go run main.go
Curl your request at the gateway (localhost:8080)
```
curl -d '{"name": "john"}' http://localhost:8080/greeter/hello
curl -H "content-type: application/json" -d '{"name": "john"}' http://localhost:8080/greeter/hello
```