now you change the encodePost