Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django rest framework

# created by eastcoders swahili
from rest_framework.decorators import api_view
from rest_framework.response import Response
# Create your views here.


@api_view()
def say_hellow(request):
    return Response("ok")
Source by www.django-rest-framework.org #
 
PREVIOUS NEXT
Tagged: #django #rest #framework
ADD COMMENT
Topic
Name
9+4 =