Fix http sample