RestDull 2.1.5
dotnet add package RestDull --version 2.1.5
NuGet\Install-Package RestDull -Version 2.1.5
<PackageReference Include="RestDull" Version="2.1.5" />
<PackageVersion Include="RestDull" Version="2.1.5" />
<PackageReference Include="RestDull" />
paket add RestDull --version 2.1.5
#r "nuget: RestDull, 2.1.5"
#:package RestDull@2.1.5
#addin nuget:?package=RestDull&version=2.1.5
#tool nuget:?package=RestDull&version=2.1.5
Simple Rest API Call. It has a static object (RestClient) and a non-static object (RestClientDI)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
- HtmlAgilityPack (>= 1.11.17)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
2.1.5 | 782 | 12/4/2019 | |
2.1.4 | 644 | 12/4/2019 | |
2.1.3 | 626 | 11/18/2019 | |
2.1.2 | 619 | 11/16/2019 | |
2.1.1 | 713 | 11/15/2019 | |
2.0.3 | 771 | 11/14/2019 | |
2.0.2 | 710 | 11/14/2019 | |
2.0.1 | 756 | 11/14/2019 | |
2.0.0 | 705 | 11/14/2019 | |
1.7.1 | 765 | 11/13/2019 | |
1.7.0 | 716 | 11/13/2019 | |
1.0.6 | 1,344 | 9/28/2017 | |
1.0.5 | 1,291 | 9/28/2017 | |
1.0.4 | 1,274 | 9/28/2017 | |
1.0.3 | 1,347 | 9/26/2017 | |
1.0.2 | 1,288 | 9/26/2017 | |
1.0.1 | 1,500 | 9/22/2017 | |
1.0.0 | 1,323 | 9/22/2017 |
2.1.5 -Added the missing dependency (HtmlAgilityPack)
Make sure to install Newtonsoft.Json nuget package seperately.
2.1.4 -will let you pass FormUrlEncodedContent as IEnumerable<KeyValuePair<string, string>>
var nvc = new List<KeyValuePair<string, string>>();
nvc.Add(new KeyValuePair<string, string>("grant_type", "client_credentials"));
nvc.Add(new KeyValuePair<string, string>("client_id", _applicationSettings.ClientId));
nvc.Add(new KeyValuePair<string, string>("client_secret", _applicationSettings.ClientSecret));
nvc.Add(new KeyValuePair<string, string>("scope", _applicationSettings.Scope));
string authority = $"https://login.microsoftonline.com/{_applicationSettings.TenantId}/oauth2/token";
RestResponse<Token> response = await _restClient.PostAsync<List<KeyValuePair<string, string>>, Token>(authority, nvc);
request.Content = new FormUrlEncodedContent(body as IEnumerable<KeyValuePair<string, string>>);