revert http api changes