In this course, you will learn how to interact with APIs using Swift. By the end of this course, you’ll understand how to make GET, POST, PUT, PATCH, and DELETE requests to an API, interpret API responses, and perform basic operations like creating, reading, updating, and deleting resources.
Overview
Syllabus
- Unit 1: Interacting with REST APIs in Swift
- Fetching API Documentation Using Swift and URLSession
- Unit 2: Making GET Requests and Handling Responses in Swift
- Performing GET Requests with URLSession in Swift
- Fetching and Processing To-Do Items with Swift
- Handling 404 Errors in Swift Networking
- Fetching and Processing To-Do List with URLSession
- Unit 3: Introduction to Path and Query Parameters in Swift
- Retrieve a Specific To-Do Item Using Path Parameters in Swift
- Modify GET Request to Handle Non-Existent Item
- Exploring Query Parameters in Swift
- Filtering Todos with Query Parameters in Swift
- Unit 4: Sending Data with POST Requests in Swift
- Crafting JSON Data and Sending POST Requests in Swift
- Fixing API Request Bugs in Swift
- Handling Missing Data in POST Requests
- Verify Addition of New To-Do Item Using API Requests in Swift
- Crafting a POST Request in Swift
- Unit 5: Updating and Deleting Resources with PUT, PATCH, and DELETE in Swift
- Implementing PUT Method in Swift to Update a Todo Item
- Partial Update of a Todo Item Using PATCH Request
- Change PATCH Request to DELETE Request in Swift
- Handling HTTP Requests in Swift
- Transition Todo List via API Requests in Swift