I have the following code in jQuery
$.post('/privmsg?', {
folder: 'inbox',
mode: 'post',
post: '1',
username: 'Wagner',
subject: 'Título',
message: 'Mensagem'
});
I'm studying Javascript, and would like to do the same with pure Javascript.
I have done some research and learned to make requests with GET with AJAX, now I would like to know, how do I do this POST with pure Javascript?