https://github.com/jponge/vertx-4-mutiny-sql-client
https://github.com/jponge/vertx-4-mutiny-sql-client
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jponge/vertx-4-mutiny-sql-client
- Owner: jponge
- Created: 2021-04-02T18:15:22.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-15T15:52:23.000Z (almost 5 years ago)
- Last Synced: 2024-10-20T22:24:45.805Z (over 1 year ago)
- Language: Java
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Vert.x SQL Client with Mutiny demo
### List products
```
> curl -X POST -H "Content-Type: application/json" -d '{"name":"Spoon","price":1.0}' http://localhost:8080/products
or
> http localhost:8080/products name=Spoon price=1.0
```
### Create product
```
curl http://localhost:8080/products
or
> http localhost:8080/products
```
### Get product
```
curl http://localhost:8080/products/1
or
> http localhost:8080/products/1
```