ScriptCs.EasyHttp 0.3.2

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;}
   }
   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);


The script pack also has the Json.NET namespace available so you can make use of different Json.NET serialization possibilities (e.g. [JsonIgnore]) to suit your needs.


Source code can be found at https://github.com/martinobrink/ScriptCs.EasyHttp.

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

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.5 702 1/26/2014
0.3.4 366 1/24/2014
0.3.3 350 1/24/2014
0.3.2 351 1/23/2014
0.3.1 451 1/23/2014
0.3.0 400 1/23/2014
0.2.0 421 1/22/2014
0.1.1 345 1/22/2014