Fix up POST example in docs
Make sure we only initialise once