Fix post body by copying post data
Merge pull request #6 from joprice/fixPostBody

Fix post body