fix content length when posting via curl
Merge pull request #63 from dimagi/cz

fix content length when posting via curl