3 ms·
Fantastic post, and it's chock full of great tips! As someone who was just finished building v1 of a REST API for $work, I wish I had learned some of these les
by ajtaylor 14y ago
Fantastic post, and it's chock full of great tips!
As someone who was just finished building v1 of a REST API for $work, I wish I had learned some of these lessons 6 months ago. I took a lot of inspiration from Stripe and Twilio but there are so many things I'd do differently for version 2. One advantage I do have is that our API is not consumer facing so I didn't do as much work on the docs and example request/response as I would have otherwise.
My favorite slide was the one showing the details of a particular POST request. I'm not currently logging requests like this, but my eyes have been opened now to the possibilities it brings. Just the ability to debug a response alone would make it worth it. No more tailing apache and backend logs!