Flask-RESTful: Getting Started with Flask-RESTful to Build APIs
Flask-RESTful 1.1.1
| Beginner
- 11 videos | 1h 19m 20s
- Includes Assessment
- Earns a Badge
Flask-RESTful is the extension for Flask that contains functions and support you'll use to develop REST APIs. Python developers will enjoy the ease and speed of a minimal set up before moving on to explore Flask-RESTful's built-in template library. Using templates as a jumping off point during development is a great way to quickly and easily develop REST APIs, and it has the additional benefit of guiding you to consistently follow API development best practices. In this course, you'll learn to set up your environment to build a RESTful API server. You'll install the Flask-RESTful libraries on Windows and macOS and you'll also work with the CURL command-line utility to make API calls. Next you'll implement a simple API server that responds to HTTP GET requests and then how to configure responses for GET, POST, PUT, and DELETE requests. Moving on, you'll configure your API server to accept parameters as part of the URL path and send data to your server using the request body in POST requests. Upon finishing this course, you'll be able to configure a simple API server using Flask-RESTful to respond to your HTTP requests.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseInstall flask-restful and set up a virtual environment on macosInstall the curl utility and flask-restful python library and set up a virtual environment on a windows machineCreate a basic rest api to return json dataImplement methods to respond to get, post, put, and delete http requests using the flask-restful libraryConfigure and register routes with url path parameters using the flask-restful library
-
Demonstrate how url path parameters work using the flask-restful libraryConfigure endpoints to facilitate using the same resource for multiple application routesSend data in a post request using the request bodyAccess data in the request body of an api serverSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 54sUse this course to develop and refine fundamental skills needed to build and configure a simple virtual API server using Flask-RESTful. You are taught how to build a virtenv server with Flask-RESTful libraries, implement a simple API server that responds to http GET request, and structure specifications for data that is sent to your server. FREE ACCESS
-
7m 5sLearn how to set up a virtual Flask-RESTful Python library on a macOS. A virtualenv can be thought of as a sandbox container for all dependencies and libraries that you need for each project. This video explores key tasks such as using Python to import libraries, viewing available modules through DIR, and accessing the CURL command-line utility. FREE ACCESS
-
7m 22sLearn how to set up a virtual Flask-RESTful Python library in a Windows environment. Use the virtualenv as a sandbox container for all dependencies and libraries that you need for each project. This video explores key tasks such as using Python to import libraries, viewing available modules through DIR, and steps you need to take to download and install the CURL command-line utility. FREE ACCESS
-
11m 6sDiscover how to create basic code for your simple API by inputting the Flask module and application into a new file. Writing a successful GET request using your API server is an essential step to returning a JSON message or object. FREE ACCESS
-
10m 43sUpgrade your skills by learning how to change the configuration of your API to respond to different requests. During this video you'll explore the benefits of changing the route of your GET request, updating your route using forward slash (/), and getting a JSON response from your new updated route. FREE ACCESS
-
9m 46sUnderstand how and why to send data from the client to the server and configure a GET Request to get a different response. To successfully configure and register routes with URL path parameters using the Flask-RESTful library, construct APIs that accept input arguments in the URL path used to make requests to the server. FREE ACCESS
-
5m 10sWatch this video to learn to how URL path parameters work using the Flask-RESTful library. To be successful, you need to know how to configure APIs with multiple URL path arguments and how to configure resources to respond to GET requests that accept multiple input arguments. Explore using Integer and String arguments in CURL to create a GET request and validate the request. FREE ACCESS
-
8m 45sIn this video, you're introduced to how URL path parameters and multiple URL path arguments work. Being adept at tasks such as configuring resources to respond to GET requests to accept multiple input arguments and working with two types of arguments is essential to configuring APIs with multiple path arguments. FREE ACCESS
-
9m 36sThis video will teach you how to accept and work with form data using Flask-RESTful. Using the request body, you can send this data to a server using a POST request. FREE ACCESS
-
5m 43sExpand your insights using the request body of an API server to access data. When Form data values are sent to the server, you have the ability to access individual key value pairs inside the form data. FREE ACCESS
-
2m 11sThis video revisits the highlights of all key learning points you learned throughout this course. You should be comfortable setting up and configuring simple API servers that respond to http GET request with Flask-RESTful libraries and structuring data specifications. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.