I have tried to get response from a url, from the following code. I am using Python 3.x
from urllib.request import urlopen
url_getallfolders = 'https://qa.wittyparrot.com/alfresco/service/acrowit/userfolderinfo?access_token=TICKET_83361146b0e140f48ba404c3d8457452a92e117f'
x = urlopen(url_getallfolders)
print(x)
I get the following error:
<http.client.HTTPResponse object at 0x030304B0>
I even tried with urllib.urlopen:
x = urllib.urlopen(url_getallfolders)
print(x)
then i get this error:
NameError: name 'urllib' is not defined
Kindly help. Thanks in advance