fullfill PUT/GET func

fix PUT/GET func.
update API followed by APIARY
Please remove comment code block.