converting httpgateway to v2
converting httpgateway to v2
converting httpgateway to v2