title: Problem with rest assured request body parameters "value_error.missing"
body: <p>I am trying to pass request body parameters in rest assured request, but it returns me with is very frustrating I am trying different ways I try with String like JSON format but is not working also always same error.
  Error message <strong>value_error.missing</strong> for all body parameters.</p>
  <pre><code>   value_error.missing
  {
    &quot;detail&quot;: [
      {
        &quot;loc&quot;: [
          &quot;body&quot;,
          &quot;username&quot;
        ],
        &quot;msg&quot;: &quot;field required&quot;,
        &quot;type&quot;: &quot;value_error.missing&quot;
      },
      {
        &quot;loc&quot;: [
          &quot;body&quot;,
          &quot;password&quot;
        ],
        &quot;msg&quot;: &quot;field required&quot;,
        &quot;type&quot;: &quot;value_error.missing&quot;
      }
    ]
  }
  </code></pre>
  <p>The test code:</p>
  <pre><code>public Response login(String username, String password, String proxy) {
      //String user = &quot;{\&quot;username\&quot;:\&quot;&quot; + username + &quot;\&quot;,\&quot;password\&quot;:\&quot;&quot; + password + &quot;\&quot;,\&quot;proxy\&quot;:\&quot;&quot; + proxy + &quot;\&quot;}&quot;;
      Map&lt;String, String&gt; user = new HashMap&lt;&gt;();
      user.put(&quot;username&quot;, username);
      user.put(&quot;password&quot;, password);
      user.put(&quot;proxy&quot;, proxy);
  
      Response response = given()
              .headers(httpHeaderManager())
              .body(user)
              .spec(urlUser)
              .post(&quot;/auth/login&quot;)
              .then()
              .extract().response()
      
      
      return response;
      
  }
  </code></pre>