Skip to content

Student API with validators and can perform all HTTP Methods

Notifications You must be signed in to change notification settings

Orion6400/REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST_API

Student API with validators and can perform all HTTP Methods (class based APIViews)

Small app to try creating a microservice API using DRF: Django Rest Framework

To access the API: http://127.0.0.1:8000/studentapi/

To fetch list of all Student in the database, use GET request

To add a new flower instance, add a JSON object and make a POST request. For example,

{ "id": 13, "name": "Rajan", "roll": 12, "city": "Kanpur" }

To get/update particular Student instance add id in last :For example, http://127.0.0.1:8000/studentapi/1

About

Student API with validators and can perform all HTTP Methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages