How to get the access token from external service in BigQuery?
Diyotta has provided feature by selecting “Obtain access token from external service” in datapoint and we should provide curl command as an external command to get the access token.
Synatx for the curl command is as below.
curl -v “http://host:port/serviceName”
Once this command gets executed, it returns response in JSON format, only format supported by Diyotta. Also access token key name should be provided which should match with the key in the response.