Set the correct "Content-Type" for the POST.