My Pi is behind a proxy. I am able to download packages using apt-get command.
However, when I use something like this:
curl https://www.dataplicity.com/iam1o1sx.py | sudo python
There is an error:
Could not resolve host: www.dataplicity.com
I have entered my credentials (user name:password @ proxy) for HTTP, HTTPS and FTP in 10proxy file.
What could the problem be?