Update PostRequest.cs

Thanks for the sample code. It seemed to have a couple of bugs in it however - these changes made it work for me at least. Hope this helps someone else!
Merge pull request #1 from gavinaiken/patch-1

Update PostRequest.cs