How to get the POST data from a webpage?

I am able to get the GET data from a web page by using the command ‘cgi.FieldStorage()’. To my surprise, that simple command does NOT do it for the POST data. Please tell me how to do this, while I am not using Django practice similar programs.

Howdy Pejamide,

there is a chapter " Passing Information Using POST Method" under the following link:

https://www.tutorialspoint.com/python/python_cgi_programming.htm

Is that, what you are searching for?

Cheers, Dominik

Yes, I have already tried yet, but I still get an EMPTY contents from the command ‘FieldStorage’ as follows: FieldStorage(None, None, ). It does however very well for ‘GET’, so not for ‘POST’. What should I have done wrong?

Can you provide the belonging code?