-- add content type. length and setDoOutput in http url connection only if is not a get request because reverts get to post