Using Refit to Generate Your REST API Calling Code Sample code to demonstrate how to use Refit in your project. In this case Xamarin.Forms, but works in any .NET based project