ices_post {icesSAG} | R Documentation |
Post to a url
Description
Post to a url using an ICES authentication token
Usage
ices_post(url, body = list(), retry = TRUE, verbose = FALSE, use_token = TRUE)
Arguments
url |
the url to get. |
body |
a list of named arguments to be sent as the body of the post request. |
retry |
should the get request be retried if first attempt fails? default TRUE. |
verbose |
should verbose output form the http request be returned? default FALSE. |
use_token |
should an authentication token be sent with the request? default is TRUE. |
Value
content or an http response.
See Also
sag_api
builds a SAG web service url.
icesSAG-package
gives an overview of the package.
Examples
## Not run:
ices_get(sag_api("StockList", year = 2022))
## End(Not run)
[Package icesSAG version 1.5.0 Index]