NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
How list parameters differ, why sort names need an allow list, and how an old route that is still served can keep a flaw the new one lacks.
Owen's excerpts arrived at 10:52. Two files sit side by side: the invoice list handler under /v1 and the one under /v2. Both answer the same business question, which invoices does this organisation have, in what order. The web application calls version two. Version one is the legacy route: still routed and still reachable with the same session.
At 10:22:30 the same single quote on the v2 sort parameter had returned 400 and invalid_sort. At 10:14:07 on v1 it had returned 500. Two routes with one purpose and two different answers is a pattern you will meet often, and the excerpts show where it comes from.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in