Improved http command endpoint