I have checked similar questions to this here:
web-api POST body object always null
This does not exactly match what is happening in my scenario. I am making a request to my api with the following request header content-type:
Key Value
Content-Type application/x-www-form-urlencoded
My request body then is a Response I get from another service which I cannot change
Response=SomeLongStringOfBAse64EncodedData
My Api Post Method which I can see gets hit by setting a breakpoint on it is as:
public HttpResponseMessage Authenticate([FromBody]string Response)
However Response string is always getting null value even though I see it in the request body which I cannot understand.