This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sylye
Recipients docs@python, matrixise, sylye
Date 2019-02-21.11:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550748778.14.0.249126474406.issue36064@roundup.psfhosted.org>
In-reply-to
Content
Hi @matrixise,

Sorry that the example in that stackoverflow site is a dummy API server. I tested my code in a real API server so I can produce the error. I have re-tested my code with that dummy site and yes you won't able to get that error. To reproduce that error, you may try a valid API server, like 'https://httpbin.org/post' . I just tested again by replacing :

my_url = "https://api.foo.com"

with 

my_url = "https://httpbin.org/post"

and able to get the same error again. Apology for not using a real API server in my example :)
History
Date User Action Args
2019-02-21 11:32:58sylyesetrecipients: + sylye, docs@python, matrixise
2019-02-21 11:32:58sylyesetmessageid: <1550748778.14.0.249126474406.issue36064@roundup.psfhosted.org>
2019-02-21 11:32:58sylyelinkissue36064 messages
2019-02-21 11:32:58sylyecreate