KamoCRM

Set application/json for JSON bodies forwarded to SecurityService

FixAPIService
Shipped
21 ஏப்ரல், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing