4 ms·
Actually, another way to do this is to create a form with the POST method that respond with status 204(which will not refresh the page). There is still no need
by olavgg 11y ago
Actually, another way to do this is to create a form with the POST method that respond with status 204(which will not refresh the page). There is still no need to involve the XHR. I still think this solution is neat though.