Describe the bug
Pressing the "Create" button without entering any information results in an "Internal Server Error."
To Reproduce
Steps to reproduce the behavior:
Go to the homepage of the Shopcarts REST API Service.
Do not fill in any fields in the "Create, Retrieve, Update, and Delete a Shopcart" form.
Press the "Create" button.
Observe the error message "Internal Server Error."
Expected behavior
The system should validate the input fields and display an appropriate error message indicating that required fields are missing, without triggering an internal server error.
Observed behavior
Pressing the "Create" button without entering any information results in a 500 Internal Server Error, instead of handling the missing input gracefully.
Screenshots
Additional context
This issue may be due to missing input validation in the frontend or backend. Proper validation should be implemented to ensure that all required fields are filled before submitting the form.
Describe the bug Pressing the "Create" button without entering any information results in an "Internal Server Error."
To Reproduce Steps to reproduce the behavior:
Expected behavior The system should validate the input fields and display an appropriate error message indicating that required fields are missing, without triggering an internal server error.
Observed behavior Pressing the "Create" button without entering any information results in a 500 Internal Server Error, instead of handling the missing input gracefully.
Screenshots
Additional context This issue may be due to missing input validation in the frontend or backend. Proper validation should be implemented to ensure that all required fields are filled before submitting the form.