How do you optimize the performance of REST APIs?

TechnicalTech lead javaJava Tech LeadSenior Java DeveloperSolution Architect