Basic POST functions & skeleton encoding