REST API Tutorial This tutorial starts by explaining how to build as basic REST API using flask, peewee and move on to adding HTTP Basic Authentication and Token Based Authentication. Simple REST API. Add HTTP Basic Authentication. Add Token Based Authentication. Detailed explanation can be found here Simple REST API using Flask and Peewee Simple REST API Cont.. Simple REST API Authentication Cont..