Incorrect header name (ContentType -> Content-Type) causing HTTP error