Blog

Showing 109–120 of 200 articles

Testing2 min read

Working with CSRF tokens

Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a site: the form posts fine in a browser but fails with a 403 from code.

APIs2 min read

Cursor vs offset pagination, part 5

Part 5 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…

APIs2 min read

Cursor vs offset pagination

Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The difference matters as soon as the underlying data changes while you are reading it.