MLH-Fellowship / orientation-project-python-24.SUM.A

Orientation Project (Python for 24.SUM.A)
2 stars 6 forks source link

Add validation that POST requests are in the correct format #12

Open MLHProgram opened 3 months ago

MLHProgram commented 3 months ago

When making a POST request to add an Experience, Education or Skill, the API server should check it's in the correct format, including all the required fields. If it is not, it should return an error message and the appropriate HTTP status code.

This should also include writing a test inside of test_pytest.py as part of the feature to show that it works. If you're unfamiliar with Pytest, you should take a read inside the LMS for more instructions!

winstxnhdw commented 3 months ago

I'll take this

andyjianzhou commented 3 months ago

oop, I already made this in the other repo 😭

andyjianzhou commented 3 months ago

Do you mind if I migrate my changes over winston?

winstxnhdw commented 3 months ago

Yeah, sure.

andyjianzhou commented 3 months ago

Waiting for #26 to be merged in.