Django - REST Framework Basics
Consider the following Django REST Framework APIView:
What will the browser display when you navigate to this view's URL?
from rest_framework.views import APIView
from rest_framework.response import Response
class GreetView(APIView):
def get(self, request):
return Response({"greeting": "Welcome to the API!"})What will the browser display when you navigate to this view's URL?
