https://github.com/osquery/osquery logo
#general
Title
# general
r

Reece Rodriguez

06/24/2020, 2:54 PM
Hi all, I need some very basic help that I can't seem to find the answer to in the docs. I'm trying to use the api and cant figure how to use my access token in a
curl
call or using python requests. What is the header for authentication called? I saw somewhere on github someone used
curl -H Authorization: [tokenhere]
but that didn't work for me
s

sundsta

06/24/2020, 3:06 PM
What API? If this is related to Fleet, try #kolide
r

Reece Rodriguez

06/24/2020, 3:07 PM
Oops sorry, yes I meant the Fleet API. I'll try there. Thanks!