json stringify ajax post
Thanks for the post. I have been searching for this current solution for almost 3 and half hours.I thought jQuery.ajax can realize I was sending a JSON object and it would do something on that. But Im wrong! Actually, I need to JSON.stringify it by myself! I am receiving 400 Bad Request for the AJAX Post method. I am using Spring Data Rest Services at Backend. Below is the code I am having on front end for JS.Content-Type : application/json , data: JSON.stringify(groupData) The Home repository is the starting point for people to learn about ASP.NET Core. Im trying to trigger a jQuery AJAX post to my ASP.NET webservice.You are misusing these options. I dont know vb but I know c and asp.net. When you use JSON.