- Building RESTful Web Services with .NET Core
- Gaurav Aroraa Tadit Dash
- 56字
- 2021-06-25 21:23:04
REST constraints
REST is defined by six constraints, as shown in the following diagram. One of them is optional:
![](https://epubservercos.yuewen.com/40A1A0/19470392901563306/epubprivate/OEBPS/Images/Chapter_181.jpg?sign=1739320333-9Now6VP7Wd9FvaL3uoIC8JlZK7dwZoV5-0-9f25f54b5e315bb51ce3744486b1bb01)
Each of these constraints enforce a design decision for the service that is to be followed. If it is not followed, the service can't be denoted as RESTful. Let's discuss these constraints one by one.