SetAuthorizationKey
New to Analytica 6.6
Function _SetAuthorizationKey( urlPrefix, authorization )
Many web services or other HTTP sources require that an authentication header to grant access or use. There is a standard HTTP header named Authentication used for this purpose.
This function informs Analytica of an authorization value that must be used for any URL that starts with «urlPrefix». When Analytica accesses a URL with that prefix, it will automatically insert the Authorization header with the indicated «authorization» value (except in the case where you have specified an Authorization header in that context, in which case yours would override the one remembered by this function).
In some cases, such as when calling ReadFromURL, this can reduce the extra require parameters. In other cases, there might not be any other mechanism for specifying the HTTP headers.
Enable comment auto-refresher