implement json api
do not trust the documentation
http client status request