https://software.codidact.com/categories/38/tags/4861.rssNew Posts Tagged 'http-request' - Software DevelopmentSoftware Development - Codidact2021-06-03T05:31:28Zhttps://software.codidact.com/posts/281596How do I get the error message out of a requests exception?ajvhttps://software.codidact.com/users/532422021-05-04T16:58:54Z2021-06-03T05:31:28Z<p>I'm trying to log error messages from Requests exceptions. Example:</p>
<pre><code class="language-python">try:
make_web_request()
except RequestException as ex:
logging.error(ex)
<...https://software.codidact.com/posts/281058Trying to create a POST request with Apachecuzzohttps://software.codidact.com/users/538532021-03-16T02:08:14Z2021-03-16T06:53:03Z<p><a href=""></a>I have tried many different ways to do this with apache but the server seems to not be receiving the data. Stacktraces are not being printed so I can only assume I have the reques...