Using Uday's solution above I was able to get things to work. This is a pretty brief piece of code and you may need to add some variables for the URL, header, etc.
Thanks to Uday for his help...
-Mike
request = New HTTP Request(
URL( "https://jsonodds.com/api/odds" ), // the restAPI endpoint
Method( "GET" ),
headers( {"x-api-key: //yourkeyhere// "} ) // add your custom headers
);
dt = Open( Char To Blob( request << Send() ), "JSON" );