title: why did I fail to try the post using requests.post?
body: <p>I know this post may Duplicate from other questions,but i have read any post and do not get what i want to know</p>
  <p>I have read this <a href="https://stackoverflow.com/questions/48592572/can-i-use-requests-post-to-submit-a-form">Post</a> before i ask this.</p>
  <h1>My problem</h1>
  <p>I want to scrape <a href="https://www.resi.co.id" rel="nofollow noreferrer">This page</a> with <code>BeautifulSoup</code> and <code>requests.post</code> to submit some form from web.</p>
  <p>And this example code i used:</p>
  <pre><code>import requests, json
  from bs4 import BeautifulSoup as BS
  
  url = &quot;https://www.resi.co.id&quot;
  datas = {
      &quot;userForm&quot;:{
             &quot;id&quot;:&quot;80879880999985&quot;
       }
  }
  
  with requests.Session() as s:
      req = s.post(url, data=json.dumps(datas)
      if req.ok:
          soups = BS(req.text,&quot;html.parser&quot;)
          print(soups.prettify())
  </code></pre>
  <p>I think i can see output what i want,but no one results i want from output,Where my wrong? I just read and try any examples from google and post from stackoverflow but i didn't getting anything what i want.</p>
  <p>I really appreciate every help, and sorry for my English.</p>