Developed robust API endpoints to handle PUT and PATCH requests for updating project information.
Changes in serializer, views.
PUT - update all field
PATH - Update an existing project without all fields required
{{base_url}}api/projects/1/
base_url - http://127.0.0.1:8000/
{
"project_name": "Example Project2",
"description": "Example description",
"industries": "education",
"goals": "goals",
"budget_needed": 100,
"budget_ready": 100,
"industry": "education",
"status": "approved"
}
Developed robust API endpoints to handle PUT and PATCH requests for updating project information. Changes in serializer, views. PUT - update all field PATH - Update an existing project without all fields required {{base_url}}api/projects/1/ base_url - http://127.0.0.1:8000/ { "project_name": "Example Project2", "description": "Example description", "industries": "education", "goals": "goals", "budget_needed": 100, "budget_ready": 100, "industry": "education", "status": "approved" }