In this course, you will learn how to interact with APIs using Scala. 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 CRUD operations (create, read, update, delete).
Overview
Syllabus
- Unit 1: Introduction to REST APIs and HTTP Requests
- Fetching API Data with Curl
- Unit 2: Making GET Requests and Handling Responses
- Automate API Requests with Scala
- Perfecting API Data Retrieval
- Handling 404 Errors in HTTP Responses
- Handling GET Requests Like a Pro
- Unit 3: Working with Path and Query Parameters
- Fetching To-Do with Path Parameters
- Understanding Error Responses for Non-existent To-Do Items
- Filtering To-Do Items with Queries
- Refine Todo List with Multiple Query Parameters
- Unit 4: Sending Data with POST Requests
- Craft Your JSON To-Do Data
- Fix the POST Request Bugs
- Missing Data in POST Requests
- Verify and Retrieve Newly Added To-Do Item
- Mastering POST Requests with Scala
- Unit 5: Updating and Deleting Resources with PUT, PATCH, and DELETE
- Updating Resources with PUT
- Switching from PUT to PATCH
- Switching from PATCH to DELETE
- Mastering Requests with PUT, PATCH, and DELETE Functions
- Mastering API Requests with Scala