search for: handle_reset

Displaying 1 result from an estimated 1 matches for "handle_reset".

2016 Apr 04
0
Using R for cURL commands,Message-ID:
...to, an internal one that's a bit odd in its return codes, but still it gives you the idea. auth <- authenticate(id$lanid, id$password, type="basic") query <- POST(url=control$posturl, body= xlist, auth, encode="json") if (status_code(query) >= 300) handle_reset(control$posturl) if (status_code(query) == 401) stop("invalid lanid/password for this application") else if (status_code(query) == 400) stop("internal error from dart package: 'syntax of request'") else stop_for_status(query) #o...