Flask-RESTful: Parsing & Validating Input Requests

placeholder

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 youll learn to effectively use a request parser object to parse and extract input arguments from user requests. Youll validate input arguments using the right configuration before setting up custom help messages for the parser arguments. Next youll examine how your request parser can look beyond the request body – in the query string cookies and other locations for input arguments. Youll explore how to inherit from an existing parser object and how to modify a parser to suit your needs. Finally youll 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.