added missing function bodies.
fixed a bug (POST request sends nothing).
Merge pull request #5 from mwpark/master

fixed a bug (i think)