POST logic