View source: R/labkey.defaults.R
labkey.getRequestOptions | R Documentation |
The internal functions for labkey.get() and labkey.post() use this labkey.getRequestOptions() helper to build up the HTTP request options for things like CSRF, CURL options, and authentication properties. This function is also exposed for general use if you would like to make your own HTTP request but need to use those request options as set in your session context.
labkey.getRequestOptions(method = 'GET', encoding = NULL)
method |
a string specifying the HTTP method for the request options you want to get |
encoding |
a string specifying the type of encoding to add to the header properties, defaults to UTF-8 when NULL |
Cory Nathe
## Not run:
library(Rlabkey)
labkey.getRequestOptions()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.