modify dpma to add generice post/get send requestion function