Add HTTP respond method.