Let's see whether you can answer the following questions correctly:
- HTTPie is a:
- Command-line HTTP server written in Python that makes it easy to create a RESTful Web Server
- Command-line utility that allows us to run queries against a SQLite database
- Command-line HTTP client written in Python that makes it easy to compose and send HTTP requests
- Flask-RESTful uses which of the following as the main building block for a RESTful API:
- Resources built on top of Flask pluggable views
- Statuses built on top of Flask resource views
- Resources built on top of Flask pluggable controllers
- To process an HTTP PATCH request on a resource, which method should we declare in a subclass of flask_restful.Resource?
- patch_restful
- patch_method
- patch
- To process an HTTP PUT request on a resource, which method should we declare in a subclass of flask_restful.Resource?
- put_restful
- put_method
- put
- To process an HTTP POST request on a resource, which method should we declare in a subclass of flask_restful.Resource?
- post_restful
- post_method
- post
- To process an HTTP GET request on a resource, which method should we declare in a subclass of flask_restful.Resource?
- get_restful
- get_method
- get
- A subclass of flask_restful.Resource represents:
- A controller resource
- A RESTful resource
- A single RESTful HTTP verb
- If we use the @marshal_with decorator with notification_fields as an argument, the decorator will:
- Apply the field filtering and output formatting specified in notification_fields to the appropriate instance
- Apply the field filtering specified in notification_fields to the appropriate instance, without considering output formatting
- Apply the output formatting specified in notification_fields to the appropriate instance, without considering field filtering