Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is endpoint in REST architecture?

I often hear the phrase "endpoint" in the context of RESTful architecture. What is endpoint? just the method like the one in the class annotated with @Controller in Java Spring framework?

Cant actually find the exact answer to this question in google.

like image 269
azalut Avatar asked Feb 11 '23 09:02

azalut


1 Answers

It`s just a URI where the RESTful service can be accessed from.

E.G. https://example.com/api/products is the URI Endpoint to list all available products in the system.

Just thought I post an answer in case someone else comes across the same question.

like image 187
Shane van Wyk Avatar answered Feb 13 '23 02:02

Shane van Wyk