Some deployment require a bearer token to get data from the {baseUrl}/info endpoint while some do not. .checkBaseUrl() is called by lots of ROhdsiWebApi functions and requires this endpoint to work.
I'd like to make a small change that would pass the bearer token when using this endpoint if the bearer token exists. If no token exists then the behavior should be unchanged.
I don't think this will break any current functionality but will allow ROhdsiWebApi to be used in environments where {baseUrl}/info requires a bearer token.
Some deployment require a bearer token to get data from the {baseUrl}/info endpoint while some do not. .checkBaseUrl() is called by lots of ROhdsiWebApi functions and requires this endpoint to work.
I'd like to make a small change that would pass the bearer token when using this endpoint if the bearer token exists. If no token exists then the behavior should be unchanged.
I don't think this will break any current functionality but will allow ROhdsiWebApi to be used in environments where {baseUrl}/info requires a bearer token.