Lesson 23API Development Tutorial
This lesson is a tutorial in which you will create a fully working REST API that uses GET
, POST
, PUT
, and DELETE
HTTP requests to perform CRUD (create, read, update, and delete) operations on a dataset. As a tutorial, the focus will be on writing code to develop a working solution.
OVERVIEW AND REQUIREMENTS
REST stands for Representational State Transfer. A REST can be used to expose information from a web application and to allow other applications to access that information. REST basically is an architecture that can be used to let web applications access resources and information about the state of a resource on another system. By using REST application programming interfaces (RESTful APIs), you can interact with other servers and systems.
In this lesson, you will learn how to create a number of elements that help make working with remote processes possible:
- Requests – In the context used in this lesson, a request is an HTTP request. All requests within the API are in the form of an HTTP request.
- Handlers – A handler is a function that processes or handles incoming requests from clients. Each type of request should have an appropriate ...
Get Job Ready Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.