Call a webapi secureed wtih Okta JWT, from a .net4.5.2 winforms app?

Does anyone have a code sample showing how to authenticate and then call a webAPI from a
non web .Net app?

or a .net console app?

I had this super handy tool on our old system, which I could call methods on out webservices to verify that they were up and working properly, and examine the responses.

I had a drop down to call different flavors of the api (dev, qa prod, etc). I was hoping to make somethink like it for our new Okta secured APIs.

a windows app was nicest, because i just double clicked and it was up an running.