25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

Flask-RESTful: Parsing & Validating Input Requests

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. A major benefit when building REST APIs in Flask-RESTful, is unlimited access to use the built-in request parser any time you want to parse and validate input arguments to your API server. Python developers will find the flexibility and extensibility of Flask-RESTful very useful. In this course, you'll learn to effectively use a request parser object to parse and extract input arguments from user requests. You'll validate input arguments using the right configuration before setting up custom help messages for the parser arguments. Next, you'll examine how your request parser can look beyond the request body - in the query string, cookies, and other locations, for input arguments. You'll explore how to inherit from an existing parser object and how to modify a parser to suit your needs. Finally, you'll investigate how to make errors returned by the parser more user-friendly by choosing to bundle them together to return as a group in a JSON response.

Issued on

June 16, 2023

Expires on

Does not expire