I'm developing an api using .NET Mvc Web Api. It will accept POST requests with JSON as the payload. If I want to use the FromBody
method to retrieve the POST data, the payload has to begin with an equals sign (=). (That makes it a key-value-pair with a nameless key.)
Too me this seems a bit strange, and I'm wondering if this syntax is somewhat accepted, or simply a Web Api quirk that I should avoid exposing to my consumers?