Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.04 KB

File metadata and controls

27 lines (17 loc) · 1.04 KB

JSE Module 6 – Lab 1: APIs and Services

Self-contained Skillable lab for Workshop 1 – APIs and Services. Implement an API client that sends GET, POST, PUT, and DELETE requests and analyses responses.

Contents

  • Starter code: Maven/Spring Boot project with ApiClient skeleton to complete.
  • Skillable instructions: skillable-lab-w1-apis-services.md (upload this as the lab Instructions in Skillable).

Prerequisites

  • Java 17+
  • Maven 3.6+ (or use included ./mvnw)

Quick start

./mvnw spring-boot:run

Complete the methods in src/main/java/com/jse/module06/lab01/ApiClient.java, then uncomment the example calls in Lab01ApisServicesApplication.run() to test against JSONPlaceholder.

Lab alignment

  • Module: JSE Module 6 – Building APIs in Java
  • Workshop: 1 – APIs and Services
  • Learning objectives: Implement API requests (GET, POST, PUT, DELETE) with appropriate headers and bodies; analyse status codes and JSON responses; handle errors.