title: How to proceed when redirected to page after successful sign in with POST method
body: <p>I have signed in a website using R 3.5.2, and this seems to be gone well both using rvest_0.3.4 and httr_1.4.0, but then I get stuck into a redirecting page which, on the browser (Chrome), is visualized only for a few secs after I hit the button "Login!". </p>
  
  <p>The problematic step seems to be a <code>form method="post" input type="hidden"</code> which I don't manage to submit from R.  </p>
  
  <h3>URL of the sign in CDP page</h3>
  
  <p>signin &lt;- "<a href="https://www.cdp.net/en/users/sign_in" rel="nofollow noreferrer">https://www.cdp.net/en/users/sign_in</a>"</p>
  
  <h3>rvest</h3>
  
  <pre class="lang-r prettyprint-override"><code>library(rvest)
  
  user.email &lt;- "my_email"
  user.password &lt;- "my_password"
  
  signin.session &lt;- html_session(signin)
  signin.form &lt;- html_form(signin.session)[[1]]
  filled.signin &lt;- set_values(signin.form, 
                              `user[email]` = user.email, 
                              `user[password]` = user.password)
  
  signed.in &lt;- submit_form(signin.session, filled.signin)
  read_html(signed.in) %&gt;% html_node("form")
  </code></pre>
  
  <h3>httr</h3>
  
  <pre class="lang-r prettyprint-override"><code>library(httr)
  
  login &lt;- list(
      `user[email]` = "my_email",
      `user[password]` = "my_password",
      submit = "Login!")
  
  signed.in.post &lt;- POST(signin, body = login, encode = "form", verbose())
  http_status(signed.in.post)
  
  content(signed.in.post, as = "parsed")
  
  read_html(signed.in.post$url) %&gt;% html_node("form")
  </code></pre>
  
  <p>My goal is to access my account and browse the website, but I don't know how to go through the redirecting page from R.</p>