Closed dantailby closed 5 years ago
Without a body the Ajax POST request fails. This PR just adds an empty body and sets dataType and the "Content-Type" header explicitly to expect json.
body
dataType
"Content-Type"
Without a
body
the Ajax POST request fails. This PR just adds an empty body and setsdataType
and the"Content-Type"
header explicitly to expect json.