I am new to WebAPI and trying to learn it. I have an WebAPI controller to which I am trying to POST a string using WebClient from my Unit Test.
I am posting a string
If all you need to receive is one value, use = before the value:
=
var result = client.UploadString(_webapiUrl, "POST", "=hello"); // NOTE '='