I tried the script from the thread but i got this as a result:
* arg: 1
* string:
* arg: 2
* string: missing credentials in url
* arg: 3
* nil
The credentials are in the url like: https://myemail@gmail.com:password@url
Is it because the username is an email address or is there something else what's wrong? I try to get the data of some JSON string.
When i try the complete url in the browser it does work.
Yes the email address for the user seems to be the problem. When logging log(url.user) i just got the first part of the email address back and not the complete email address. That makes sense as the part after the @ is seen as the url of course. But how to solve this as i can't change the user.
* arg: 1
* string:
* arg: 2
* string: missing credentials in url
* arg: 3
* nil
The credentials are in the url like: https://myemail@gmail.com:password@url
Is it because the username is an email address or is there something else what's wrong? I try to get the data of some JSON string.
When i try the complete url in the browser it does work.
(15.07.2023, 14:44)Joep Wrote: I tried the script from the thread but i got this as a result:
* arg: 1
* string:
* arg: 2
* string: missing credentials in url
* arg: 3
* nil
The credentials are in the url like: https://myemail@gmail.com:password@url
Is it because the username is an email address or is there something else what's wrong? I try to get the data of some JSON string.
When i try the complete url in the browser it does work.
Yes the email address for the user seems to be the problem. When logging log(url.user) i just got the first part of the email address back and not the complete email address. That makes sense as the part after the @ is seen as the url of course. But how to solve this as i can't change the user.