Skip to content
New issue

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

FRQ 2 - Classes #10

Open
dtsivkovski opened this issue Nov 26, 2022 · 1 comment
Open

FRQ 2 - Classes #10

dtsivkovski opened this issue Nov 26, 2022 · 1 comment
Assignees

Comments

@dtsivkovski
Copy link
Owner

dtsivkovski commented Nov 26, 2022

Using post to add a new person to database

image

Tester

image
image
Though unconventional, I had to use the GregorianCalendar class to create a new Date object, as I was getting an error using SimpleDateFormat parsing even though I was doing things exactly the same as in the API url code.

Output:

[{"id":20,"email":"johnny@gmail.com","password":"123qwerty!","name":"Johnny","dob":"2005-03-04T08:00:00.000+00:00","stats":{},"statArray":null,"age":17},{"id":21,"email":"johnny@gmail.com","password":"123qwerty!","name":"Johnny","dob":"2005-03-04T08:00:00.000+00:00","stats":{},"statArray":[],"age":17},{"id":19,"email":"tedison@gmail.com","password":"123qwerty!","name":"Theodore","dob":"1900-10-21T08:00:00.000+00:00","stats":{},"statArray":null,"age":122}]

Fixing setStats

image
image

@dtsivkovski dtsivkovski self-assigned this Nov 26, 2022
@dtsivkovski dtsivkovski changed the title FRQ 2 - Issues FRQ 2 - Classes Nov 28, 2022
@YashShah138
Copy link
Collaborator

YashShah138 commented Nov 28, 2022

Score: 2.8/3 - Yash Shah

  • Postman and JSON output is displayed
  • Build tester method
  • Add APIs
  • Fixed the bug in setStats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants