Just getting started with consuming APIs so please bare with. :-(
I have my API setup in Postman and all works fine, I need to transfer this to a Console application (for now), however I am getting 404 not found.
Having waded thru a load of really old examples online for the HttpClient class, I found one that looked simple enough to get going with, however I must have
got the authentication wrong in my C#
The string "api-key" was from the original example buy I feel this must be wrong, not sure what to put in here though...
I have attached the C# code and the screens from Postman that I have changed values.
Any help would be great,