Set application/json for JSON bodies forwarded to SecurityService

FixAPIService
Shipped
April 21, 2026 at 1:44 AM UTC
Author
Kamo
Commit
7a8d15e

RestTemplate to upstream could leave Content-Type incompatible with Spring @RequestBody, causing 415. After reading the raw body, force APPLICATION_JSON when the payload looks like JSON.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing