RestDull 2.1.4
See the version list below for details.
dotnet add package RestDull --version 2.1.4
NuGet\Install-Package RestDull -Version 2.1.4
<PackageReference Include="RestDull" Version="2.1.4" />
<PackageVersion Include="RestDull" Version="2.1.4" />
<PackageReference Include="RestDull" />
paket add RestDull --version 2.1.4
#r "nuget: RestDull, 2.1.4"
#:package RestDull@2.1.4
#addin nuget:?package=RestDull&version=2.1.4
#tool nuget:?package=RestDull&version=2.1.4
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. |
This package has no dependencies.
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 | 798 | 12/4/2019 | |
2.1.4 | 656 | 12/4/2019 | |
2.1.3 | 638 | 11/18/2019 | |
2.1.2 | 631 | 11/16/2019 | |
2.1.1 | 735 | 11/15/2019 | |
2.0.3 | 792 | 11/14/2019 | |
2.0.2 | 731 | 11/14/2019 | |
2.0.1 | 777 | 11/14/2019 | |
2.0.0 | 726 | 11/14/2019 | |
1.7.1 | 786 | 11/13/2019 | |
1.7.0 | 737 | 11/13/2019 | |
1.0.6 | 1,376 | 9/28/2017 | |
1.0.5 | 1,324 | 9/28/2017 | |
1.0.4 | 1,306 | 9/28/2017 | |
1.0.3 | 1,379 | 9/26/2017 | |
1.0.2 | 1,320 | 9/26/2017 | |
1.0.1 | 1,546 | 9/22/2017 | |
1.0.0 | 1,355 | 9/22/2017 |
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>>);