I have this command to fetch my external IP. It was working, but does not seem to be any more.
/tool fetch mode=http address="api.ipify.org" src-path="/" dst-path="/ip.txt"
When I run this command, there is nothing returned, even though the file appears to be 14B large.
/file get ip.txt contents
I’ve also attempted with this command, but file get does the same thing.
/tool fetch url="https://api.ipify.org/" mode=https dst-path=ip.txt
RouterOS 6.40.1