Link to home
Start Free TrialLog in
Avatar of condor888
condor888

asked on

Python sending http post request with body without installing any extra modules

I have Python 2.7.9 running on a linux box. Now I need to sending http post request with body and headers. However, due to some restrictions, I cannot use pip to install some third party modules, and I cannot use Python to execute "curl" command either. Can I achieve this with Python out of the box?
ASKER CERTIFIED SOLUTION
Avatar of Walter Ritzel
Walter Ritzel
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of condor888
condor888

ASKER

I took Walter's solution because I am taking the easy way, however, I really appreciate gelonida's input!