.h2o.doSafeGET | R Documentation |
This function validates that no CURL error occurred and that the HTTP response code is successful. If a failure occurred, then stop() is called with an error message. Since all necessary error checking is done inside this call, the valid payload is directly returned if the function successfully finishes without calling stop().
.h2o.doSafeGET(h2oRestApiVersion, urlSuffix, parms, ...)
h2oRestApiVersion |
(Optional) A version number to prefix to the urlSuffix. If no version is provided, a default version is chosen for you. |
urlSuffix |
The partial URL suffix to add to the calculated base URL for the instance |
parms |
(Optional) Parameters to include in the request |
... |
(Optional) Additional parameters. |
The raw response payload as a character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.