I use jQuery and send data with the POST method. But in the server method the values are not coming. What could be the error?
jQuery
POST
client
Try extracting your params into a separate DTO class and do it like that:
public class ParentDTO { public int parentId{get; set;} public string tagName{ get; set;} } [HttpPost] public JObject AddTag([FromBody] ParentDTO parent) { }