OneHash interview question

rest API