Practice – devcor_350-901_api

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

Logged in as Guest

Fill in the status code used to detect a create conflict and then switch to update logic.

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

if r.status_code == {{1}}: # already exists -> fetch current then update handle_conflict()

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

Available snippets

401
429
404
409
500
400
201