Quiz 3 Question 15 of 20

A script runs r = requests.post(fmc + '/api/fmc_platform/v1/auth/generatetoken', auth=(user, pw)), then tok = r.headers['X-auth-access-token'] and h = {'X-auth-access-token': tok}. Every later call is requests.get(url, headers=h). How does the script use the credentials and the token?

Select an answer to reveal the explanation.

Motivation