Updated the HTTPWebRequest

Updated the HTTPWebRequest to use the content type property instead of manually adding it as a header