Complete the code to specify the URL for the API endpoint.
API_URL = "https://api.example.com/[1]"
The term endpoint refers to the specific URL where the API service is accessed.
Complete the code to set the HTTP method for the API request.
method = "[1]"
The HTTP method GET is used to request data from an API.
Fix the error in the header setup by completing the code.
headers = {"Authorization": "Bearer [1]"}The access_token is the correct term for the security token used in API authorization headers.
Fill both blanks to create a query parameter dictionary for the API call.
params = {"[1]": "[2]"}The query parameter user_id with value 12345 is used to specify the user in the API request.
Fill all three blanks to build a complete API request dictionary.
request = {"url": "https://api.example.com/[1]", "method": "[2]", "headers": {"Authorization": "Bearer [3]"}}The request dictionary includes the endpoint URL part, the HTTP method GET, and the access_token for authorization.