ping.Rd
Pings the PEcAn API server (using the URL passed in the server object)
to see if it is live or not. Hits the /api/ping
API endpoint
ping(server)
Server object obtained using the connect() function
Response obtained from the /api/ping
endpoint
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
res <- ping(server)
#> Sorry! Server not responding.