Test your knowledge
Let's see whether you can answer the following questions correctly:
- Which of the following classes is responsible for rendering the
text/htmlcontent:- The
rest_framework.response.HtmlRendererclass - The
rest_framework.response.TextHtmlAPIRendererclass - The
rest_framework.response.BrowsableAPIRendererclass
- The
- By default, the browsable API uses the following web component library:
BootstrapReactJSAngularJS
- When we enter the URL of an existing resource in a web browser, the browsable API:
- Returns a web page with just the JSON response for an HTTP GET request to the resource
- Returns a web page with a section that displays the JSON response for an HTTP GET request to the resource and diverse buttons to perform other requests to the resource
- Returns a web page with a section that displays the JSON response for an HTTP OPTIONS request to the resource and diverse buttons to perform other requests to the resource
- When we enter the URL of a non-existing resource in a web browser, the browsable...