DRF: Not showing the url in the api interface

Viewed 276

I have a simple view

@api_view(['GET', 'POST'])
def hello_world(request):
    if request.method == 'POST':
        return Response({"message": "Got some data!", "data": request.data})
    return Response({"message": "Hello, world!"})

and in the urls

path("hello_world/",hello_world,name="hello_world")

But I dont see it in the browser

enter image description here

Which urls are shown here and which are not

1 Answers
Related