Fix return value of post