In this project, I used Django Rest Framework for api calls and performe CURD operations.
Django Version: 5.0
djangorestframework Version: 3.14.0
make sure you have Django and djangorestframework installed in your system. Then run
python manage.py runserverin the terminal where manage.py file is located
GET /api/view/| Parameter | Type | Description |
|---|---|---|
None |
None |
None |
POST /api/create/| Parameter | Type | Description |
|---|---|---|
Item Name |
string |
Required. Name of item to Create or Add |
POST /api/update/{$id}| Parameter | Type | Description |
|---|---|---|
Item ID |
integer |
Required. ID of item to Update Status |
POST /api/Delete/{$id}| Parameter | Type | Description |
|---|---|---|
Item ID |
integer |
Required. ID of item to Delete Todo |