Raise error unless httppost receives correct value.

Fixes #32.