https://basescripts.com/learn-javascript-ajax-use-xhr-get-and-post-with-data-from-input-field
Learn JavaScript AJAX use xHR GET and POST with Data from input field