JWT in REST APIs: How to Secure API Endpoints with Bearer Tokens