You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to retrieve my public IPv6 address but the getDetails() function, with $ip_address paramater set to null, only returns the IPv4 address. i have tried changing the const API_URL of the IPinfo class to 'https://v6.ipinfo.io' but somehow that leads to an curl error 7 which i do not understand. because if i use curl directly it works.
curl ipinfo.io/?token=mytoken
returns json with ip as ipv4 address
curl ipinfo.io/ip/?token=mytoken
returns string ip as ipv4 address
curl v6.ipinfo.io/ip/?token=mytoken
returns string ip as ipv6 address
curl https://v6.ipinfo.io/ip/?token=mytoken
returns string ip as ipv6 address
any idea why the curl error?
The text was updated successfully, but these errors were encountered:
I am trying to retrieve my public IPv6 address but the getDetails() function, with $ip_address paramater set to null, only returns the IPv4 address. i have tried changing the const API_URL of the IPinfo class to 'https://v6.ipinfo.io' but somehow that leads to an curl error 7 which i do not understand. because if i use curl directly it works.
curl ipinfo.io/?token=mytoken
returns json with ip as ipv4 address
curl ipinfo.io/ip/?token=mytoken
returns string ip as ipv4 address
curl v6.ipinfo.io/ip/?token=mytoken
returns string ip as ipv6 address
curl https://v6.ipinfo.io/ip/?token=mytoken
returns string ip as ipv6 address
any idea why the curl error?
The text was updated successfully, but these errors were encountered: