Make post endpoint pluggable