Skip to content

Repository with some experiments to perform requests to CDF in Go

License

Notifications You must be signed in to change notification settings

evertoncolling/poc-requests-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Repository with some experiments to perform requests to CDF in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages