run_api: Run the Plumber API

Description Usage Arguments Value Examples

View source: R/run_api.R

Description

Run the Plumber API

Usage

1
run_api(port = 8000)

Arguments

...

parameters passed to plumber

Value

invisible NULL

Examples

1
2
3
4
5
6
## Not run: 
  run_api()
  # try to got to: http://127.0.0.1:8000/trollR
  # or use http://127.0.0.1:8000/trollR?text=This may be a troll comment

## End(Not run)

schliebs/trollR documentation built on May 23, 2019, 2:52 p.m.