add code example for posting