MLH-Fellowship / MLH-Fellowship/orientation-project-python-24.FAL.A
Add validation that POST requests are in the correct format
Open
@nfallah is already working on this.
Since Sep 17, 2024.
feature
- Dominant language
- Python
- Stars
- 1
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.