Tiny.RestClient v1.5.2 Release Notes
-
- โ Add new listener to print cURL request in debug output. To enable it :
client.Settings.Listeners.AddCurl();
It produce this type of output in debug window for each ExecuteAsync called :
curl -X POST "http://localhost:4242/api/PostTest/complex"-H "Accept: application/json" -H "Content-Type: application/json" -d "{\"Id\":42,\"Data\":\"DATA\"}"
- The XmlFormatter now produce not indented xml (lighter than previous)
- ๐ง The XmlFormatter have ne property WriterSettings which allow to configure the way to write XML streams
- โ Add support of CamelCase (PropertyName => propertyName) for JsonFormatter
- โ Add support of SnakeCase (PropertyName => property_name) for JsonFormatter
- โ Add support of KebabCase also known as SpinalCase (PropertyName => property-name) for JsonFormatter