Content-Type added

Added the ability to specify the Content-Type of the AJAX request.