send_emon_request | R Documentation |
Send a request to emonCMS
send_emon_request( uri, params = NULL, method = "GET", post_body = NULL, verbose = FALSE )
uri |
Leaf node of API endpoint. Appended to 'emoncms_uri()'. |
params |
Any additional query parameters to send. Defaults to NULL. |
method |
Wether to GET (default) or POST the call. |
post_body |
For POST calls, any fields to specify in the POST body. |
verbose |
If set (boolean), will warn on the query parameters to be sent |
An httr response object content user_agent http_error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.