csivitu / ftc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ftc

Requirements Python 3

##pip install django,djangorestframework,djangorestframework-jwt ##To access Question json -"localhost:portname/question/"

To post answer -"localhost:portname/answer/"

Answer json format

"ques_id":""

#"ans":"answer"

For authentication

##"localhost:portname/api-token-auth/" would return a token

Header Format to access all restricted views

Authentication : JWT Token

To run the sever

Traverse to manage.py file

python manage.py runserver portnumber

About


Languages

Language:Python 100.0%