fullfill PUT/GET func

fix PUT/GET func.
update API followed by APIARY
Use logger instead of `print`