URLConnection GET with API Key

I think I am just having a moment. I am trying to get data from a API (specifically: Account) I can get the JSON data from curl but I was hoping to use URLConnection. I can’t seem to figure out where to put the API key? I see docs for basic authentication but none for API key.

Looks like that might be set in the header.


Thanks Paul…not sure how I missed that one. Have a good night!

1 Like
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.