adding post_method.js and get_method.js