All topics and tags

REST

2 articles tagged REST.

  1. Idempotent API Design: Keys, Storage and Retention for Payment-Style Calls

    Design POST endpoints that clients can safely retry: the Idempotency-Key header, a PostgreSQL key table, request fingerprints, concurrent retries, status codes and how long to keep keys.

    Architecture9 min read
  2. REST API Versioning Strategies: URL, Header and Date-Based Compared

    Compare URI, query string, header, media type and date-based REST API versioning, with the trade-offs for caching and clients and a deprecation process using the Deprecation and Sunset headers.

    Architecture11 min read