mirror of
https://github.com/go-micro/go-micro.git
synced 2026-06-15 19:35:13 +02:00
Fix missing content type (#2289)
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user