Fixed some API POSTing issues