REST APIs are a common functionality in modern web apps that are frequently used.
This is why we focus on making this process consistent.
This makes it much easier to develop new endpoints in your API.
Laravel Angular Material Starter helps you standardize the format of your API's return data.
Errors responses have a specific format and success responses have another one.
It also benefits from this consistency on the front-end, by configuring response interceptors that will automatically open a toast that will show validation error.
Updated less than a minute ago