setAuthHeader | R Documentation |
Manually set the authorization http header for a WebAPI baseUrl In some cases the user may want to manually set the authorization header. An authHeader is associated with a particular baseUrl and added to to the header of all http requests sent to that url by ROhdsiWebApi.
setAuthHeader(baseUrl, authHeader)
baseUrl |
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI". |
authHeader |
A character string containing a Bearer token that will be added to the header of all http requests sent to baseUrl. (e.g. "Bearer lxd9n2nsdsd2329km23mexjop02m23m23mmmsioxiis0") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.