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

Orientation Project (Python) for 23.SUM.A
1 stars 12 forks source link

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

Closed wrussell1999 closed 1 year ago

wrussell1999 commented 1 year 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!

Raajheer1 commented 1 year ago

Hey everyone! I am working on this issue and have PRed it above feel free to add any changes or comments to the PR!