Code samples for the book CORS in Action