Remove debug line from api.py.
Changed POST data handling