# NOT RUN {
# Run in the background
beakr <- newBeakr()
beakr %>%
httpGET("/", function(req, res, err) {
return("Successful GET request!\n")
}) %>%
listen(daemon = TRUE)
# Stop the server
stopServer(beakr)
# }
Run the code above in your browser using DataLab