add sendPost method