var url='/autorizate?email='+email_input.value+'&password='+password_input.value; var sender = new XMLHttpRequest(); sender.open('POST', url, true);