refactoring to Payload in lieu of PostData, since applies for POST or PUT
getPayload to work for either POST or PUT requests.
setting HTTP Headers dependent on type of request.
Merge pull request #26 from dustinmoorman/master

Finishing POST & PUT capabilities