Exemple #1
0
 internal HttpWebResponse SendJsonRequest(string fullUrl, IEnumerable <KeyValuePair <string, object> > parameters, string[] jsonMap)
 {
     return(this.PostContent(fullUrl, JsonContentType, InternalUtils.MapDictToJson(parameters, jsonMap)));
 }
Exemple #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));
 }