Question: what is the difference between java api and rest api?
Answer: While API is basically a set of functions and procedures that allow one application to access the feature of other application, REST is an architectural style for networked applications on the web. It is limited to client-server based applications. REST is a set of rules or guidelines to build a web API.