Hi Guys
If someone can helpme out!
Im trying to create QRcode with Hotspot Credentials using API and send it over telegram as an image – over /tool fetch
Im stuck at the URL, its stopping after the username!!
:global TToken "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
:global TChatId "-XXXXXXX"
:local hotspotHostname "XXX.XXX.XXX.XXX"
:local file "pass.txt"
:local cred [ /file get $file contents ]
/tool fetch url="https://qrickit.com/api/qr.php\?d=["https://$hotspotHostname/loginusername=$cred&password=$cred&addtext=$cred"]&txtcolor=442EFF&fgdcolor=25408F&bgdcolor=FFFFFF&qrsize=200&t=p&e=m" dst-path=image.png
/tool fetch url="https://api.telegram.org/bot$TToken/sendmessage\?chat_id=$TChatId" http-method=post http-data="docmuent=image.png" keep-result=no