Quiz: Managing the Endpoints

Test your knowledge about the contents discussed in this chapter.

We'll cover the following...

Managing and testing endpoints assessment

1.

Our api_root() function has the decorator function @api_view(). Which option below is its task?

A.

It sets a list of the HTTP methods that the api_root() is allowed to respond to.

B.

It sets a list of the HTTP methods that the api_root() is not allowed to respond to.


1 / 5