Allow posting data formatted differently than multipart/form-data

Title says it all. Sorry I touched all your code. Feel free to test, change it back, or modify this PR as you wish @fergiemcdowall. It should work though :+1: