educative.io

APIs vs EndPoints

APIs are the method of communication so REST, SOAP, and gRPC are the examples. Am I right? Secondly, if there is a URL like https://educative.io/courses/get-questions then what is the endpoint in it? I guess it would be get-questions Please correct me if I am wrong @Educative_CS team.

Thanks


Course: Grokking the API Design Interview - Learn Interactively
Lesson: Introduction to APIs - Grokking the API Design Interview

Hi @Educative_Team, Is there anybody to answer it?
Thanks

Hi Ahmed,
You are right. An endpoint is where you can get information from the system or post it to the system. In this scenario, /get-questions is how you communicate and get a response. So, that is one of the endpoints. Don’t worry; you’ll find tens of examples of endpoints in design problem chapters to clear the concept.

Thank you for reaching out. Happy learning.
Regards,