PCSalt
YouTube GitHub

# api

4 posts

Compose + Retrofit + Coroutines — Full API Integration

Build a complete API integration in Jetpack Compose — Retrofit setup, coroutine-based calls, ViewModel state management, error handling, loading states, and pull-to-refresh.

API Rate Limiting & Abuse Prevention

Implement API rate limiting — token bucket, sliding window, per-user and per-IP limits, Spring Boot implementation with Bucket4j, and abuse prevention strategies.

CORS Explained — Why Your API Rejects Frontend Requests

Understand CORS from the ground up — what it is, why browsers enforce it, preflight requests, how to configure it in Spring Boot, and common debugging tips.

API Security Checklist — OWASP Top 10 for Backend Developers

A practical API security checklist covering authentication, authorization, input validation, rate limiting, and the OWASP API Security Top 10 risks.