place the post operation within conditional
place the post operation within conditional

elliotchance/xero-api,slightlydiff/yii2-xero,XeroAPI/XeroOAuth-PHP,whytewaters/XeroOAuth-PHP,tkrish/XeroOAuth-PHP