Description Usage Arguments Details Value Functions Examples
When creating operations from api one can define how the response from http should be handled. These functions can be used for simple result handling.
1 2 3 4 5 |
x |
A response object from httr package (see response object in httr package documentation) |
See get_operations
for details.
Content of http response
content_or_warning
: Returns content or issues a warning
content_or_message
: Returns content or prints a message
1 2 3 4 | ## Not run:
operations <- get_operations(api, handle_response = content_or_stop)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.