Skip to content

Unable to run the First example #130

@vikram-rawat

Description

@vikram-rawat

I am on windows. I tried this dummy code and it doesn't work. It doesn't give me any error though but my path localhost:9001/hello doesn't display anything.

library(RestRserve)
app = Application$new()
app$add_get(
  path = "/hello", 
  FUN = function(request, response) {
    response$set_body("Hello from RestRserve")
  })
backend = BackendRserve$new()
backend$start(app, http_port = 9001)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions