$.post() in jQuery — a practical guide to jQuery $.post with clear examples you can reuse in real projects.
jQuery Tutorial Series (68/101). Prefer one article? Read the complete jQuery tutorial.
Short description
For JSON APIs, set contentType and JSON.stringify as needed.
$.post
$.post('/api/comments', { body: 'Nice post' }, function (res) {
console.log(res);
}, 'json');