title: Request body is missing in the server end for feign application/x-www-form-urlencoded type request
body: <p>I have been working on building feign client to send a form urlencoded requests. The thing is it worked fine till yesterday without no issues. But now request body is not being sent to the server.</p>
  <p>Here is my configuration.</p>
  <pre><code>
      EmailClientConfiguration.class
      
      public class EmailClientConfiguration  {
          
          @Bean
          public RequestInterceptor requestInterceptor() {
              return template -&gt; {
                   template.header(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;);
              };
          }
          
          @Bean
          public OkHttpClient client() {
              return new OkHttpClient();
          }
          
          @Bean
          Logger.Level feignLoggerLevel() {
              return Logger.Level.FULL;
          }
          
          @Bean
          public Decoder feignDecoder() {
              return new JacksonDecoder();
          }
          
          @Bean
          public Encoder feignFormEncoder () {
              return new SpringFormEncoder(new JacksonEncoder());
          }
      }
  
  </code></pre>
  <p><strong>Client:</strong></p>
  <pre><code>
      @FeignClient(name = &quot;email&quot;, url = &quot;localhost:3000&quot;, 
          configuration = EmailClientConfiguration.class)
      public interface EmailClient {
      
          @PostMapping(value = &quot;/email/send&quot;, consumes = &quot;application/x-www-form-urlencoded&quot;)
          ResponseDto sendEmail(@RequestBody Map&lt;String, String&gt; requestBody);
          
      }
  
  </code></pre>
  <p><strong>Request Body:</strong></p>
  <pre><code>Map&lt;String, String&gt; requestBody = 
  Map.of(&quot;username&quot;, &quot;xyz&quot;,
  &quot;email&quot;, &quot;xyz@gmail.com&quot;,
  &quot;key&quot;, &quot;xxx&quot;);
  </code></pre>
  <p>I debugged from server end too can't find why request body is not received. I see no error while sending requests. How to check if request body present before sending requests.</p>