ScriptCs.EasyHttp 0.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ScriptCs.EasyHttp --version 0.3.1                
NuGet\Install-Package ScriptCs.EasyHttp -Version 0.3.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ScriptCs.EasyHttp" Version="0.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScriptCs.EasyHttp --version 0.3.1                
#r "nuget: ScriptCs.EasyHttp, 0.3.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ScriptCs.EasyHttp as a Cake Addin
#addin nuget:?package=ScriptCs.EasyHttp&version=0.3.1

// Install ScriptCs.EasyHttp as a Cake Tool
#tool nuget:?package=ScriptCs.EasyHttp&version=0.3.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;}
   }
   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.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.3.5 1,680 1/26/2014
0.3.4 1,135 1/24/2014
0.3.3 1,109 1/24/2014
0.3.2 1,104 1/23/2014
0.3.1 1,335 1/23/2014
0.3.0 1,268 1/23/2014
0.2.0 1,302 1/22/2014
0.1.1 1,105 1/22/2014