I have a shiny app that takes an input file in Json Runs it through a classifier and returns a classified Json object.
I want the app to be able to communicate with an API.
If you do not have to use Shiny, you can use openCPU. OpenCPU provides each of your R packages as REST service automatically. I work with OpenCPU and it works fine! It is the easiest way to use R from another program.