REST APIs

Course Code: RESTAPI

Duration: 2 days

 
 
 
 

REST APIs Course Overview

REST APIs are a staple for developers the world over. Whether it's to provide a web app with access to server data or to facilitate comms between microservices, REST APIs have exploded in popularity due to their simplicity and flexibility.

This course comprises sessions dealing with prerequisite topics including HTTP and JSON, core REST theory, the building of REST services and clients, REST API configuration including caching and HATEOAS, and yet more REST theory including the Richardson Maturity Model, the n+1 problem, and authentication techniques.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Delegates have the option of coding in either Java, Python, or JavaScript.

Course Objectives

This course aims to provide the delegate with the skills and knowledge necessary to design and build good quality REST APIs.

Who will the Course Benefit?

This course will benefit developers who are required to build or maintain REST services and/or clients, and anyone otherwise interested in what a REST API is, how it works, and how to build a good one.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Define the terms API, web service, HTTP, JSON, and serialisation
  • Describe how a REST API works
  • Build a simple REST service using Spring Boot (Java), Flask (Python), or Express (JavaScript)
  • Build a REST client using HttpClient (Java), Requests (Python), or Axios (JavaScript)
  • Configure a REST API in terms of caching, compression, idempotence, etc.
  • Define and describe the Richardson Maturity Model, options for searching and sorting, the n+1 problem, and authentication techniques

REST APIs Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: PREREQUISITES

  • APIs
  • Web apps
  • Web services
  • HTTP
  • JSON
  • Serialisation

Session 2: REST THEORY

  • What is a REST API?
  • Guiding principles/constraints
  • Resources
  • Methods
  • Naming

Session 3: REST SERVICES

  • Designing a REST API
  • Building a REST service with:
    • Spring Boot (Java) or;
    • Flask (Python) or;
    • Express (JavaScript)

Session 4: REST CLIENTS

  • Off-the-shelf REST clients, e.g. Postman
  • Building a REST client with:
    • HttpClient (Java) or;
    • Requests (Python) or;
    • Axios (JavaScript)

REST APIs Training Course

Session 5: REST API CONFIGURATION

  • Caching
  • Compression
  • Content negotiation
  • HATEOAS
  • Idempotence
  • Security
  • Versioning
  • Statelessness
  • Documentation

Session 6: MORE REST THEORY

  • The Richardson Maturity Model
  • Searching, sorting, and pagination
  • The n+1 problem
  • PUT vs. POST
  • Authentication techniques
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

Delegates attending this course should have some knowledge of, or experience in, software development. Ideally delegates will be comfortable coding in Java, Python, or JavaScript to a fundamental level. This knowledge can be gained by attendance on one of the following courses.

Pre-Requisite Courses

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 2 days

Price: £1,200.00 exc. VAT 


Start Date Options Spaces  
09 May 2024
StayAhead Virtual Courses available 
Spaces Book Now 
29 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now 
07 Oct 2024
StayAhead Virtual Courses available 
Spaces Book Now 
19 Dec 2024
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy