Quiz: Managing the Endpoints

Test your knowledge about the contents discussed in this chapter.

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.

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.