We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CODE
Build tester method (public static void main) for Person Pojo. Test zero argument and all argument constructor. build toString method to display attributes of the class.
creating user: http://localhost:8085/api/person/post/[email protected]&password=password&name=Rohit De&dob=01-11-2005&height=67&weight=157
Build other attributes into POJO that where mentioned in project dialog at the beginning of this blog. Add 1 or more APIs. Use Issues to plan and track work
Correcting setStats
search
http://localhost:8085/api/person/search { "term": "rohit"}
setGoal
http://localhost:8085/api/person/setGoal { "id":"20", "goal": 5000}
setStats
{ "id": "20","date": "2022-11-26", "steps": 8000, "calories": 2200}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CODE
Build tester method (public static void main) for Person Pojo. Test zero argument and all argument constructor. build toString method to display attributes of the class.
POSTMAN TESTING
creating user: http://localhost:8085/api/person/post/[email protected]&password=password&name=Rohit De&dob=01-11-2005&height=67&weight=157
Build other attributes into POJO that where mentioned in project dialog at the beginning of this blog. Add 1 or more APIs. Use Issues to plan and track work
Correcting setStats
![image](https://user-images.githubusercontent.com/44128572/204347724-38f16c8e-5f01-4e90-a28f-8006f12f96c8.png)
search
http://localhost:8085/api/person/search
![image](https://user-images.githubusercontent.com/44128572/204355032-bbaa81f8-914e-4324-aefd-5bd3e72e1f7d.png)
{ "term": "rohit"}
setGoal
http://localhost:8085/api/person/setGoal
![image](https://user-images.githubusercontent.com/44128572/204354921-2f500f4c-1e7e-4312-b5a0-afa50bfd3193.png)
{ "id":"20", "goal": 5000}
setStats
{ "id": "20","date": "2022-11-26", "steps": 8000, "calories": 2200}
The text was updated successfully, but these errors were encountered: