Last post Sep 14, 2016 04:13 AM by Yohann Lu
Sep 13, 2016 09:57 PM|Cadel|LINK
All my search results show how to create a Web API and that is not what I want.
I want to connect to a company who has a Web API. What are the basic steps to create a console application C# framework 4.5.2 to connect to get Authentication for their API methods based on the inclusion of a "Bearer" token in the standard "Authorization"
header of any HTTP requests. Token is in JSON Web Token (JWT) format, and token can be retrieved though standard authentication methods.
Also basic steps to call that companies API methods, so I can upload a JSON file.
Sep 14, 2016 03:47 AM|jmpalines|LINK
Sep 14, 2016 04:13 AM|Yohann Lu|LINK
I want to connect to a company who has a Web API
First, you should Learn this company Web API documentation and communicate with them when needed.
What are the basic steps to create a console application C# framework 4.5.2 to connect to get Authentication for their API methods
You can use HttpClient to call Web API in your Windows console application. HttpClient is also supported for Windows Phone and Windows Store apps.
Calling a Web API From a .NET Client in ASP.NET Web API 2 (C#):