added request method get post
added debug