Flask REST API support