Exemplo n.º 1
0
 internal HttpWebResponse SendJsonRequest(string fullUrl, IEnumerable <KeyValuePair <string, object> > parameters, string[] jsonMap)
 {
     return(this.PostContent(fullUrl, JsonContentType, InternalUtils.MapDictToJson(parameters, jsonMap)));
 }
Exemplo n.º 2
0
 internal Task <AsyncResponse> SendJsonRequestAsync(string fullUrl, IEnumerable <KeyValuePair <string, object> > parameters, string[] jsonMap, CancellationToken cancellationToken)
 {
     return(this.PostContentAsync(fullUrl, JsonContentType, InternalUtils.MapDictToJson(parameters, jsonMap), cancellationToken));
 }