doc: use grpcurl instead curl (#773)

Signed-off-by: Matthis Holleville <matthish29@gmail.com>
This commit is contained in:
Matthis
2023-11-25 17:42:49 +01:00
committed by GitHub
parent eb32a0f2bc
commit 71ae5a7301

View File

@@ -285,7 +285,7 @@ k8sgpt serve
_Analysis with serve mode_
```
curl -X GET "http://localhost:8080/analyze?namespace=k8sgpt&explain=false"
grpcurl -plaintext -d '{"namespace": "k8sgpt", "explain": false}' localhost:8080 schema.v1.ServerService/Analyze
```
</details>