only console.log REST calls in development