Added a photo upload scan route and duplicate-aware create route behind the existing passcode check. Live requests against the running server behaved as expected.
- What worked
- Simple routing, JSON handling, and status codes made scan, duplicate, and unconfigured-key paths easy to implement.