run cmds for http