Practice – devcor_350-901_api

Strength:
0%
Answered: 0 • Correct: 0 • Incorrect: 0

Logged in as Guest

Fill in the argument that prevents API calls from hanging forever.

Drag the correct code snippets from the options panel into the placeholders in the code window.

import requests r = requests.get("https://api.example.com/health", timeout={{1}}) print(r.status_code)

Drag a snippet from the right into each blank box in the code.

Available snippets

100000
False
-1
'ten'
10
0
None