r/learnjava • u/[deleted] • Feb 08 '23
API, REST & RESTfull
what is the difference between API, REST and RESTful?
I was researching articles, blog and what I understood was: API is a ready-made application that can be implemented in your project. REST, an architecture that contains functions: PUT, DELETE, POST, GET, etc. RESTfull, and the application of REST.
But I'm still trying to understand what exactly an API would be? any coding that contains controller, service and model and an API?
Can I create a workshop API and then implement a front end layer on top?
44
Upvotes
-1
u/darrkass Feb 08 '23
It's just exchanging JSONs over HTTP