SpringBoot csrf handling for API methods
I have a SpringBoot webapp, and it’s working OK for API users to access by first “logging in” via the URI http://localhost:8081/loginRest
Rest of the API for writing endpoints for clients and admin
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 admin
GET online-shop/admin/products
Rest of the API for writing endpoints for clients and admin
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 admin
GET online-shop/admin/products
MongoDB CRUD Restful API project using java and spring boot
The following project ideas aim to provide students with hands-on experience in creating RESTful
APIs using Java and the Spring Boot framework. Each project focuses on developing a practical
application, connecting to a MongoDB database, implementing CRUD functionality, and handling
validation and errors.
Online Bookstore API
a. Manage books and inventory in an online bookstore
b. Add, view, update, and delete books and their details
c. Foundation for an online bookstore application or integration with other applications
Each of these project ideas offers students the opportunity to gain valuable experience in creating
RESTful APIs, working with MongoDB, and using the Spring Boot framework. They will also develop a
deeper understanding of Java programming and modern web development practices. The projects can
be expanded with additional features, such as authentication and authorization, pagination, sorting,
filtering, searching, testing, and deployment.
I’d like to know how I could use Dynamic Filtering (with MappingJacksonValue) and implement HATEOS (EntityModel) for my particular REST API?
So I have been learning REST API with Spring Boot
I’d like to know how I could use Dynamic Filtering (with MappingJacksonValue) and implement HATEOS (EntityModel) for my particular REST API?
So I have been learning REST API with Spring Boot