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:
parent
46db7df218
commit
a997f738dd
20
README.md
20
README.md
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user