• 0 posts
  • 25 comments
Joined 2 years ago
Cake day: June 1st, 2024
  • This looks interesting, but I don’t particularly want another client app for this when we can “just use curl” and have that in files (already very git-friendly)?

    This will not help many, but I’ve found a good way that helps me and my team, since we’re all in VSCode most of the time anyway. The extension “REST client” lets us write HTTP calls directly in a file and run them from there, with some basic variables and support for different kinds of authentication scheme and environment variables. It has replaced POSTman and Bruno for us: https://marketplace.visualstudio.com/items?itemName=humao.rest-client

    If you’re not already using a vscode based IDE this won’t help you at all, sure. But, if you are - this lets you write up sequences of requests in a (still manual, but quite quick) file to test APIs and play with them. Highly recommended!

  • Why even use HTTP, when you can just send bytes directly over the physical network card, right?

    Because standards make it better for everyone. You’ve no idea when, who or in what context the error will happen or be received by.

    It takes so little to return ProblemDetails, and improves the experience of devs using your API so much. Just do it. Stop thinking up edge cases and faffing about with excuses. Do it.