View source: R/core_api_functions.R
labguru_post_item | R Documentation |
POST a body to a url with optional arguments. Function includes standard error handling.
labguru_post_item(url, body, encode = NULL, config = NULL, handle = NULL)
url |
url to the labGuru instance API endpoint |
body |
content to be included in POST call |
encode |
encoding of the request (defaults to NULL, should be JSON) |
config |
other configuration options passed on to httr POST |
handle |
handling arguments passed on to httr POST |
parsed object
# helper function for POST requests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.