add get http method function