1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-05-25 21:53:14 +02:00

Update README.md

This commit is contained in:
Asim Aslam 2025-05-07 19:34:21 +01:00 committed by GitHub
parent 46db7df218
commit a997f738dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,23 +104,3 @@ curl -XPOST \
-d '{"name": "alice"}' \
http://localhost:8080
```
## Micro
Use the [Micro](https://github.com/micro/micro) cli to call it
```
micro call helloworld Say.Hello '{"name": "Asim"}'
```
Run the micro api and call it via http
```
micro api
```
Call it via http://localhost:8080/
```
curl -d '{"name": "Asim"}' https://localhost:8080/helloworld/Say/Hello
```