added http post support for graphs