News

Consume the Web API using RestSharp Now that our Web API is ready for use, let’s start consuming it. Create another project – this time a Console application project to keep it simple.
And here’s a code snippet that illustrates how you can pass a complex type as a parameter to a Web API method using the FromUri attribute. public class SecurityController : ApiController ...