The Happy Path (@The_HappyPath) header
The Happy Path (@The_HappyPath) profile picture

Quick software engineering explainers for things you should've googled by now

Join the newsletter →
Joined December 2025
The Happy Path retweeted
A request with a valid token hits an admin-only endpoint, and the user doesn't have the admin role. A) 401 Unauthorized B) 403 Forbidden Which status code should come back?
1
1
122
The Happy Path retweeted
SQL quiz. A table orders with 4 rows: amount is 10, NULL, 20 and 30. What's the output of this query? SELECT AVG(amount) FROM orders;
3
1
4
422