Kominiti interview question

3. Explain RESTful API and SOAP. Why should you each in any project?