Infosys interview question

What is an Idempotent class Difference between the http and https