HCLTech interview question

Create api using the api url in react and do a search functionality