Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 508 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 508 Bytes

poc-requests-go

Repository with some experiments to perform requests to CDF in Go

Setting up CDF authentication

Create a .env file in the root folder with the following variables (replacexxxx with actual values):

CLIENT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TENANT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CDF_CLUSTER=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CDF_PROJECT=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Running the code

go run main.go