Skip to Content

Usage

Once the access token is retrieved, it is needed in each call to the CDatalabs API under the Authorization HTTP header:

curl -X GET -i -H "Host: insights.cdatalabs.com" \ -H "Authorization: Bearer **********************************" \ "https://insights.cdatalabs.com/odata/Assessor?$top=5"

Recommendation: It is recommended to include ‘Accept-Encoding’ header with value ‘gzip, deflate, br’. This will compress the response into a zip/brotli format. This should improve the latency in transit by compressing the size. Client will have to decompress the response before processing it:

HeaderValue
Accept-Encodinggzip, deflate, br