should I first call a rest api built with fastapi or flask or is it possible to make a call directly from ajax to tensorflow serving? thanks