HENNGE interview question

Making a rest api and making request