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.

https://documentation.xojo.com/api/networking/urlconnection.html#urlconnection-requestheader

1 Like

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

1 Like