Infosys interview question

Write Observale example with http ?