Please help me to upload the content of a text file via the fetch tool. I have been trying and failing constantly.
The code I'm using is as follows:
Code: Select all
:local s "{:put [/ip arp print]}"
/tool fetch mode=http url=https://webhook.site/efc9b9df-e142-48a2-8ae9-9f70750787ca http-data=[:execute script=$s ]
Code: Select all
/ip arp print file=test
/tool fetch mode=http url=https://webhook.site/efc9b9df-e142-48a2-8ae9-9f70750787ca http-data=[/file get test.txt contents]