Closed chinthanishanth closed 6 years ago
in my personal PC i am able to send response for GET & POST requests and able to load swagger UI, but in server i am getting above error
Can you help me understand the difference between the two environments? Is the session info from your local or remote environment? How are you hosting the app?
Can you help me understand the difference between the two environments? Is the session info from your local or remote environment?
That is from remote environment
How are you hosting the app?
we took dedicated servers from OVH and installed r and rstudio server (free version )
Actually it was my mistake we are not able ping
server ip
. thanks for your time and replay. plumber was one among greatest r packages. we are looking forward for asynchronous support from plumber .. so that we can handle multiple requests at once ...may i know when will be the next version of plumber released with asynchronous support?
Thanks for the kind words. I'm hoping to start working on support for promises here in the next few months.
i am creating API's using plumber to integrate R output to web application in my current company. i am able to send response for POST requests , but for GET requests i am getting error:
["{\"status\":[500],\"summary\":[\"ERROR: lexical error: invalid char in json text.\\n NA\\n (right here) ------^\\n\"]}"]
and i am getting same above error while loading swagger UI
http://<serverip>:8000/__swagger__/
in my personal PC i am able to send response for GET & POST requests and able to load swagger UI, but in server i am getting above error
sample R plumber Script in server:
sessioninfo