ScriptCs.EasyHttp 0.1.1

Using this script pack you can write very simple scripts similar to this:

public class Notification
{
public string Message {get; set;}
public string SenderName {get; set;}
[JsonIgnore]
public string PropertyToIgnore {get; set;}
}
var notificationToSend = new Notification { Message = "Merry christmas!", SenderName = "Santa"};
var http = Require<EasyHttp>();
var result = http.PostJson("http://your.site.com/api/notification", notificationToSend);
Console.WriteLine("Response status code: " + result.StatusCode);

There is a newer version of this package available.
See the version list below for details.
Install-Package ScriptCs.EasyHttp -Version 0.1.1
dotnet add package ScriptCs.EasyHttp --version 0.1.1
<PackageReference Include="ScriptCs.EasyHttp" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScriptCs.EasyHttp --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.5 699 1/26/2014
0.3.4 364 1/24/2014
0.3.3 348 1/24/2014
0.3.2 349 1/23/2014
0.3.1 449 1/23/2014
0.3.0 397 1/23/2014
0.2.0 418 1/22/2014
0.1.1 343 1/22/2014
Show less