Now that you identified all the necessary resources to expose, you need to identify their respective locations. Step 2 - Define your endpoints and methods These resources identify the data entities that your user interface will need to display to the user so that he can interact with the application and perform all the necessary use cases. Examples of resources that you might want to expose are: Let’s take for instance an application that manages a library. Note that resources are not necessarilyĭomain entities, althought it may appear to be so. The first thing to do when building a REST API is to identify which resources will be exposed by your module. In this tutorial you will learn how to identify and implement a set of REST endpoints that expose your module features through web-services. ![]() If your software module has a user interface that needs to consume a REST API, you should expose web-services from your module with a REST API. Expose your web-services with a REST API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |