To get started creating the rest endpoints, we should first create a setup where we can now extract our data. For the first two endpoints, we will be creating GET REST endpoints for: "get user by id" and "get all users". These endpoints will be created in a spring rest controller using a getmapping.
https://www.postman.com/
We will be creating the endpoints:
/user?id={id}
Which returns a user by id given as a request parameter
/users
Which will return a list of all users
GitHub: https://github.com/Da9el00/Full-Stack...
My channel publishes programming and software engineering videos, especially Java and Python. If that is what you are looking for, do not hesitate to join me on this journey!
Subscribe to my YouTube channel:
/ @randomcode_0
Watch video Full Stack CRUD - #4 - Spring Boot GET API REST endpoints online without registration, duration hours minute second in high quality. This video was added by user Random code 22 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 67 once and liked it 1 people.