Pregunta de entrevista de Zinrelo

Assume that there is no Flask (or any other web framework), then is it possible to create RESTful API without using one. If yes, then how are you going to build one