How do I send a complex JSON object from an HTML form using SYNCHRONOUS page POST?
问题 My server is using ServiceStack and would like to receive some data like this: { Customer: { Company: "TheCompany", RegionCode: "AU_NSW" }, Name: { First: "Jimi", Last: "Hendrix" } } I have a form which has these fields and I can easily grab the data using JQuery, make the nested JSON object and use $.post to send it through. But I don't want to send it as AJAX, because I want the entire page to submit and then the browser to show the server's response as a new page. Just classic form post