https://api.jquery.com/jquery.ajax/ What is content-type and datatype in an AJAX request? contentType is the type of data you're sending, so application/json; charset=utf-8 is a common one, as is application/x-www-form-urlencoded; charset=UTF-8, whic