Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

Rest of the API for writing endpoints for clients and admin

$
0
0

I started writing a project in Spring Boot and faced such a problem as writing endpoints for the user and administrator.What is the best way to do it?GET online-shop/products and check every time the client is an admin or a client.or make a separate endpoint for the adminGET online-shop/admin/products

I tried to start doing this, but I realize that the program will start to grow more and more and I need an alternative solution.


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>