Untitled
unknown
plain_text
4 years ago
364 B
7
Indexable
<script> $("#submit").click(function(e){ e.preventDefault(); $.post("http://localhost:8080/api/login", { email:"test@test.com", password:"tst"}, function (data) { alert("Data: " + JSON.stringify(data)); }).fail(function(xhr, textStatus, errorThrown){ alert(xhr.responseText); }) }) </script>
Editor is loading...