adding POST in demo.py