Had to append post data in connection object