POST JSON data object to the server.
Merge branch 'master' of https://github.com/genialis/genesis-genapi
Python3 compatibility.