[Django]-HTTP Basic auth web request in django

2👍

Change your import statement to:

from requests.auth import HTTPBasicAuth 
👤Jack

0👍

you can also use: HTTPDigestAuth

import requests
from requests.auth import HTTPDigestAuth
👤Houda

Leave a comment