I need a bit help with BigQuery API, because I can't get or post any HTTP request with Auth problem.
I have found information about how to send http requests to GBQ on this links:
https://developers.google.com/explorer-help/ https://cloud.google.com/bigquery/docs/reference/rest/?apix=true
More than that, I had an opportunity to get info about my dataset using built-in API. But can't find info about API_KEY and ACCESS_TOKEN.
I need an example of request or maybe links, where can i find/create my tokens. Client ID and Client secret are also created by me.
Here is cURL which works on Try This Method (https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/get):
curl \
'https://bigquery.googleapis.com/bigquery/v2/projects/PROJECT/datasets/DATASET?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed