title: Getting "io.restassured.internal.RestAssuredResponseImpl@268cbb86" while printing the Response in API AUTOMATION
body: <p>When sending the body i can able to find the booking confirmation ,but when i try to print the response getting like &quot;io.restassured.internal.RestAssuredResponseImpl@268cbb86 &quot;</p>
  <p>public static void main(String[] args)  {</p>
  <pre><code>    details();
      bodyhashmap();
      
      senddata();
      System.out.println(body);
      
      
      Response resp1=given().header(&quot;Content-Type&quot;,&quot;application/json&quot;)
              .log()
              .all()
              .body(body)
              .post(&quot;https://restful-booker.herokuapp.com/booking&quot;);  
              resp1.prettyPrint();
              String as=resp1.jsonPath().get(&quot;firstname&quot;);
              System.out.println(resp1.getBody().toString());         
              
  }
  </code></pre>
  <p>}</p>