Get text from a web page that requires a username and password
Posted: Sat Oct 26, 2024 9:14 pm
Im trying to get some data from a website that uses a username and password
the URL
https://username:password@www.sampleurl ... /accounts/
works fine in a web browser, but the code
returns nothing. Is there another way to do this with Livecode as it seems to get thrown by the username and password into the URL
Thanks
the URL
https://username:password@www.sampleurl ... /accounts/
works fine in a web browser, but the code
Code: Select all
put "https://username:password@www.sampleurl.com/v1/accounts/" into tUrl
put URL tURL into tResult
answer tResult
Thanks