Abstract classes are those classes which are incomplete. Abstract Class
contains both abstract and non-abstract Method. The sole purpose of
abstract class is only to be inherited. We cannot create the instance
(object) of abstract class.
In my application it was an issue because client was encoding the body content.But I was not specifying the encoding or media type. I have specified and resolved the issue as below var content = new StringContent ( postData , Encoding . UTF8 , "application/json" ); httpClient . PostAsync ( uri , content );
Comments
Post a Comment