In this course, you will explore how to interact with APIs using Kotlin. By the end of this course, you’ll understand the fundamentals of making HTTP requests, handling responses, working with different HTTP methods, and performing API authentication.
Overview
Syllabus
- Unit 1: Introduction to REST APIs and HTTP Requests Using Kotlin
- Fetching Data from a Local API
- Unit 2: Automating API Requests in Kotlin
- Get Request with HTTP API in Kotlin
- Fetching and Processing API Data in Kotlin
- Handling 404 Errors with GET Requests in Kotlin
- Unit 3: Making GET Requests and Handling Responses with OkHttp in Kotlin
- Performing HTTP GET Request with OkHttp in Kotlin
- Interacting with APIs with OkHttp in Kotlin
- Handling GET Request Errors with OkHttp in Kotlin
- Fetching and Handling API Responses with OkHttp in Kotlin
- Handling Non-Existent Items with OkHttp in Kotlin
- Unit 4: Path and Query Parameters in Kotlin API Requests
- Filtering To-do Items Using Query Parameters in Kotlin
- Filtering Todos with Query Parameters
- Retrieve a Specific To-Do Item Using GET Request and Path Parameters
- Unit 5: Sending Data with POST Requests in Kotlin
- Creating and Sending JSON Data via POST Request in Kotlin
- Identifying and Fixing API Call Bugs in Kotlin
- Handling Missing Data in POST Requests
- Verify Addition and Retrieval of a To-Do Item Using API Requests in Kotlin
- Sending POST Requests in Kotlin with OkHttp
- Unit 6: Updating and Deleting Resources with PUT, PATCH, and DELETE in Kotlin
- Implement PUT Method in Kotlin to Update Todo Item
- Partial Update of a Todo Item Using PATCH Request
- Change PATCH Request to DELETE Request in Kotlin
- Handling HTTP Requests in Kotlin
- Managing Todo List With API Requests in Kotlin