remove executehttpapi function from being used