HttpSender是一个用来发送Http消息的轻量库,使用非常简单
使用 Nuget,搜索 HttpSender 就能找到
命名空间是HttpSender,类名是Sender
方法如下
static string Get(string url)
static string Post(string url,string content)
static string Post(string url, Dictionary<string,string> content)
static string Put(string url)
static string Put(string url, Dictionary<string,string> content)
static string Delete(string url)
static void OAuth(string token)