basic data-posting guts

this is the bare minimum that you'll need to send data for any method (put or post)
Merge pull request #2 from Colingo/post-data

basic data-posting guts