v1.0 finished get/post function