Added legacy constant for GET and POST AJAX requests.