Handle POST failures after Blockly runs

This is the first of several PRs to coming regarding supporting readonly mode.