An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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
```