Understanding the Difference Between APIs and Microservices: A Practical Guide