Update README.md
Signed-off-by: Mohammad Sadegh Sheikh Zahedi <sheikhoo.iran@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
rabbitmq:3.9-management
|
image: rabbitmq
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
The compose file defines an application with two services `backend` and `rabbitmq`.
|
The compose file defines an application with two services `backend` and `rabbitmq`.
|
||||||
@@ -47,6 +47,7 @@ CONTAINER ID IMAGE COMMAND CREATED
|
|||||||
After the application starts, you can send and receive data to rabbitmq with this api :
|
After the application starts, you can send and receive data to rabbitmq with this api :
|
||||||
|
|
||||||
`POST`: http://localhost:8080/sendMessage
|
`POST`: http://localhost:8080/sendMessage
|
||||||
|
|
||||||
Body:
|
Body:
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user