add sample for http