Blog

Showing 13–24 of 70 articles

Testing2 min read

Working with CSRF tokens, part 5

In part 5 we take the ideas from earlier instalments and apply them to a larger, messier site. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to…

APIs2 min read

Rate limit headers explained, part 7

This is part 7 of our series, and this time we focus on edge cases readers asked about. A well-behaved API tells you how many requests you have left before it starts saying no. Reading those headers…

APIs2 min read

Cursor vs offset pagination, part 6

For part 6, we revisit the basics with a fresh example and a few lessons learned the hard way. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…

APIs2 min read

Cursor vs offset pagination, part 10

For part 10, we revisit the basics with a fresh example and a few lessons learned the hard way. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…

APIs2 min read

Cursor vs offset pagination, part 9

Part 9 looks at what changes when the same technique has to run every day in production. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The…