title: How to get csrf token from get api and pass csrf token to another post api using REST Assured?
body: <p>How to get csrf token from get api and pass csrf token to another post api?</p>
  
  <p>I have to perform login. For this I have to pass 3 parameters:</p>
  
  <ol>
  <li>csrftoken  </li>
  <li>username</li>
  <li>password</li>
  </ol>
  
  <p>The csrftoken is received using <strong>GET</strong> <em><a href="https://url.com/account/login" rel="nofollow noreferrer">https://url.com/account/login</a></em> in form of response body in DOC format.</p>