I have two razberries, both on rasp3 and same version. With both I can get sensordata through api in http query in browser. With other one I have cron running .sh file which contains couple wgets and it does some magic based on results. It works fine. But with other razberry I can't get same code workin in shell. Yes I have changed IP's

Any suggestion how to get it working? Wget --username user --password password http://ip + port + command doesn't work.
Is there some setting which I should change? Both rasps are located in closed lan network so it's okay if it's open.