https://github.com/normalsalt/docker-compose-plumber
Plumber API
https://github.com/normalsalt/docker-compose-plumber
Last synced: 4 months ago
JSON representation
Plumber API
- Host: GitHub
- URL: https://github.com/normalsalt/docker-compose-plumber
- Owner: normalsalt
- Created: 2020-08-21T04:49:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T04:53:42.000Z (over 4 years ago)
- Last Synced: 2024-08-13T07:13:21.828Z (8 months ago)
- Language: R
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - normalsalt/docker-compose-plumber - Plumber API (R)
README
# Plumber API
https://www.rplumber.io/
## Plumber version
- rstudio/plumber:next
Update `Dockerfile`.
# up
```
docker-compose up -d
```## GET
Open `http://localhost:8000/echo?msg=hello` in your browser; you'll see this output:
```
{"msg":["The message is: 'hello'"]}
```## POST
```
curl --data "msg=hello" "http://localhost:8000/echo"
```# restart
```
docker-compose restart
```