Prototype of http check