A Primary key is a column or a set of columns that can uniquely identify a row in a table. A table can have at most one primary key. A primary key have an implicit NOT NULL constraint. So, a column that is defined as the primary key cannot have NULL values in it.
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