Ejemplo n.º 1
0
 /// <summary>
 ///     Add a body to the request.
 /// </summary>
 /// <param name="parameters">Dictionary of key-value pairs for creating request body.</param>
 public void AddBody(Dictionary <string, object> parameters) => _restRequest.AddStringBody(JsonSerialization.ConvertObjectToJson(parameters), ContentType.Json);