Rest API - Authentication and Authorization
Given this simplified token exchange request in Python:
import requests
response = requests.post('https://auth.example.com/token', data={
'code': 'abc123',
'client_id': 'myapp',
'client_secret': 'secret',
'redirect_uri': 'https://myapp.com/callback',
'grant_type': 'authorization_code'
})
print(response.json().get('access_token'))
What will this code print if the exchange is successful?