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

Orientation Project (Python for 24.SUM.B)
1 stars 6 forks source link

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

Open MLHProgram opened 4 weeks ago

MLHProgram commented 4 weeks 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!

varshar4 commented 1 week ago

@botirk38