Python Web Scraping extract results from Post

I'm using Python \ Selenium \ Chrome Driver

I'm just after some advice, is it actually possible to perform a POST in Python via requests and then actually extract data from the result? Also through into the mix the webpage is rendered via Javascript so I need to render it first.

For a GET I can perform this via Beautiful Soup using the Chrome driver, but for some reason I just cannot get it to work via requests. (As I understand driver does not support POST??)

For eg:

payload = {'Id': 12345}
url ='https://mywebsite//RecordRest/getTransaction', data=payload)

print("Status code: ", url.status_code)

For example, when I execute the above I do get a 200 response, but its actually then extracting the data from the webpage - which is in JSON.

I'm just wondering if this is possible via a POST as I've been spending a lot of time on this and cannot seem to get it to work.

Any pointers or suggestions would be helpful.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum