Blog

Showing 73–84 of 200 articles

APIs2 min read

Cursor vs offset pagination, part 8

In part 8 we take the ideas from earlier instalments and apply them to a larger, messier site. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…

Testing2 min read

Working with CSRF tokens, part 3

For part 3, we revisit the basics with a fresh example and a few lessons learned the hard way. 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 6

For part 6, we revisit the basics with a fresh example and a few lessons learned the hard way. A well-behaved API tells you how many requests you have left before it starts saying no. Reading those…