yanpaulo / RestHttpClient

Simple and flexible REST client built on top of Microsoft's System.Net.HttpClient.
10 stars 1 forks source link

PostAsync<T>(object content) reading RestResource from wrong type #11

Open yanpaulo opened 4 years ago

yanpaulo commented 4 years ago

RestResource should be read from "content" parameter, but instead it is read from type T. Non-shorthand versions of PostAsync(object content) also affected.