Adding wrapper functions for API posts and gets.
Fixing syntax error.