Running Clingo as a FastAPI webservice to solve the Towers of Hanoi problem.
This is a simple example of using FastAPI as a webservice to call the Clingo ASP solver to solve instances of the Towers of Hanoi problem.
The encoding of Towers of Hanoi is taken directly from "Answer Set Solving in Practice", Gebser et al. 2013.