title: How to scrape the required data using python requests?
body: <p>I am trying to scrape the data for NYC daycares from <a href="https://a816-healthpsi.nyc.gov/ChildCare/SearchAction2.do" rel="nofollow noreferrer">https://a816-healthpsi.nyc.gov/ChildCare/SearchAction2.do</a></p>
  
  <p>I tried using requests.get and requests.post, however the data it scrapes does not have the table of daycares as we can see on the website once we click the search button.</p>
  
  <h1>Using requests.get</h1>
  
  <pre><code>import requests
  url=requests.get('https://a816-healthpsi.nyc.gov/ChildCare/SearchAction2.do? 
  pager.offset=10')
  if url.status_code==200:
  
     response = url.text
     print(url.text)
  </code></pre>
  
  <h1>Using requests.post</h1>
  
  <pre><code>url2='https://a816-healthpsi.nyc.gov/ChildCare/SearchAction2.do'
  payload={'pager.offset':'30'}
  r1=requests.post(url2, data=payload)
  print(r1.text)
  </code></pre>