@Headers({"Content-Type: application/json"}) failed when request with POST method
Author: wangzihchaoCreated Nov 5, 2024Updated Jun 18, 2026
Labelsquestionneeds info
feign-core:10.2.3 micronaut-core:3.10.1
When I used @Header to set Content-Type param in header , it failed. The logs showed that request has no this param. But when I set other param ,for example: ContenType: application/json, it was OK . It has any filter in this version?
Source: OpenFeign/feign