basic data-posting guts

this is the bare minimum that you'll need to send data for any method (put or post)