added basic example of AJAX post