Error message when trying to post request in python.

InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately

Resolution: Follow the steps below to install request security components.

$ pip install requests[security]

For ubuntu, if there is issue after the above installation, execute the following:

$ apt-get install libffi-dev libssl-dev