Set content type for post request.