Adding duration in httpHelper