Blog

Showing 1–12 of 59 articles

Testing2 min read

Working with CSRF tokens, part 2

Part 2 looks at what changes when the same technique has to run every day in production. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a…

APIs2 min read

Cursor vs offset pagination, part 7

This is part 7 of our series, and this time we focus on edge cases readers asked about. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The…

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…