Rest API
Learning objectives
Monday
- Review of SP-1. Prepare a short presentation of your solution. Team members prepare to present their solution together. The goal is to get an overview of how far you have come, and what challenges you had, and what you have learned. Your SP-1 team might be split up in more review groups - but to keep it simlple, we will stick to the usual review groups.
Tuesday (class)
Prepare for class
Videos
Reading
- REST API Tutorial. Read the following chapters:
- Guiding Principles of REST
- What is a Resource?
- Resource Methods
- REST API URI Naming Conventions
- Idempotence
- HTTP Methods
- HTTP Response Codes
- Javalin documentation (skim quickly)
Exercises in in class
Wednesday (CodeLab)
Thursday (class)
Prepare for class
Video
Reading
Exercises in class
- Logging
- We will work on transforming a simple API into a more advanced API with error handling and logging.
Friday (exercise day)
Jörg’s GitHub Link
https://github.com/tysker/dog_api_class.git