HTTP begin deprecated, ESP caches

Hi All

I'm newbie to esp8266 and i'm trying to build a home automation project using esp8266 with 8 relays.

Esp8266 request my server URL and get the status of each relay on response

It works great with modems i tried so far except one my company modem!

i don't know why but it seems like modem caches response on esp so esp cant get the right response
for example when i turn a relay off my cant get it and still get the response as the relay is on until i refresh my URL with any of my devices.

i have another esp home automation project with 4 relay which work well with the same modem. I programmed it 1 month ago but it still works with the same network.

i get warning of http.begin(URL) as deprecated and i don't know if its the cause

can you guys tell me what could have cause this?
if its the http.begin what alternative i can use?

i would appreciate if you suggest any solution

Thanks!!

(deleted)

@iProLikE

Please do not duplicate posts it wastes people time and effort to help you.

Other posts DELETED

Could you now please READ THIS.

T.I.A. Bob.