Fixing API get/post issues, also fixes WHMCS module issues