This is the HTTP service to load TensorFlow model and inference to predict cancer.
Run HTTP server with [Django] and use HTTP client with curl, postman or bat for test.
./manage.py runserver 0.0.0.0:8000
bat post http://127.0.0.1:8000/cancer_predict/predict/ cancer_features="10,10,10,8,6,1,8,9,1;6,2,1,1,1,1,7,1,1"
bat post http://127.0.0.1:8000/cancer_predict/online_train/ cancer_features_and_labels="10,10,10,8,6,1,8,9,1,1;6,2,1,1,1,1,7,1,1,0"
django-admin startproject restful_server
python manage.py startapp cancer_predict
# Add customized urls and views.