Forums

GET with apikey

I'm trying to create a get request using c# webclient and keep getting 401. when i use the browser theirs a pop up for credentials. I've tried passing my apikey as a param with username but that doesn't seem to work. does anyone have tips on how to format my GET request to use apikey.

Hi Jeremy


Thanks for the question!


Generally we advise using a POST not a GET, but for some calls the GET will still work.


Can I just check which headers you're sending?


It needs to have Authorization: Basic api_key inside the headers that you're sending.


Happy to help,

Stewart

Hi Jeremy


You might also find our .NET API wrapper helpful.


Stewart


Login or Signup to post a comment