Pergunta de entrevista da empresa Infosys

What are SOLID principle? What are the differences between REST and SOAP APIs?