Implemented get() and post()