fix post submission

Fix for post submission always returning false value for success BOOL
Merge pull request #3 from auto234875/master

fix post submission