Fix: [FromForm] Dictionary<string, string> is always null in a minimal API
A [FromForm] Dictionary in a minimal API binds with an empty prefix: the form keys must be [key], not metadata[key]. Wrap it in a class to keep readable names.
13 posts · Page 1 of 2