Week 4

Java Annotations

Introduction to REST

Spring Boot Setup

Writing Endpoints

Message Formats

Input Validation

Practice

Assignment

Back end Track

Under construction

<aside> 🚧

This page is currently under construction. Please check back later.

</aside>

Implementation plan:

NOTE: HTTP and APIs are introduced in Core program Week 9 - Networking and APIs. Make a recap and focus on REST APIs.

  1. What is an API — recap from core program
  2. What is REST — architectural style, not a protocol
  3. Resources and URIs
  4. HTTP methods and their semantics: GET, POST, PUT, PATCH, DELETE
  5. HTTP headers: Content-Type, Accept, Authorization (overview)
  6. HTTP request and response body
  7. Status codes: 2xx (success), 4xx (client error), 5xx (server error)
  8. Statelessness in REST

The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*

Found a mistake or have a suggestion? Let us know in the feedback form.