got http post working by using the "request" lib,
per Chinmay's suggestion