Open utterances-bot opened 4 months ago
Rob says: October 16, 2015 at 4:45 pm RestClient requires dotnet 4.5?
I am stuck on 4.0
DalSoft says: November 4, 2015 at 10:58 am Sorry because it uses async await it needs to be 4.5 or above. It would be possible to use the sync HttpClient methods all you need to do is implement a IHttpClientWrapper that does this.
And pass it when new’ing up the client for example: var restClient = new RestClient(new MySyncHttpClientWrapper), baseUrl);
Please send me a pull request if you do this, as I’d be interested in seeing it working.
Peter says: February 22, 2018 at 12:10 pm I am trying to use the DalSoft Rest client but I am stuck with the API key. How can I insert the API key which was given to me as:
X-Api-Key: U7nopSTHj84rL6ABU……………………………x
Thanks very much
Peter says: February 22, 2018 at 12:22 pm OK, got it sorted out, thanks.
Introducing DalSoft.RestClient the dynamic C# rest client | DalSoft Ltd
A fluent C# REST client we created that removes the ceremony and boilerplate code when calling REST API's using C#.
https://www.dalsoft.co.uk/blog/index.php/2015/01/26/introducing-dalsoft-restclient-the-dynamic-rest-client/