How to execute http POST command and read json output?

Please see following post where I have outlined my solution in detail (for those interested):