I have REST
web services POST
method:
public string Post([FromBody]string value1 )
{
return "a";
}
I have placed breakpoint inside of it. I have sent POST:
localhost/RESTServer/api/Person/?value1=1
I get null
in value1
inside of Post
method. What I do wrong?