typo: http -> https.

This commit is contained in:
Zhang Huangbin 2021-05-13 17:40:49 +08:00
parent 858ea29ac9
commit def0cb6701
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
[contact us](https://www.iredmail.org/contact.html).
* Our sample code below requires third-party Python module `requests`. For
more details, please read its official documentation:
[Requests: HTTP for Humans](http://docs.python-requests.org/en/master/)
[Requests: HTTP for Humans](https://docs.python-requests.org/en/master/)
Sample Python code to interact iRedAdmin-Pro RESTful API.
@ -16,7 +16,7 @@ Sample Python code to interact iRedAdmin-Pro RESTful API.
import sys
import requests
url = 'http://<server>/iredadmin/api'
url = 'https://<server>/iredadmin/api'
# Admin email address and password.
admin = 'postmaster@mydomain.com'

View File

@ -25,14 +25,14 @@
<a href="https://www.iredmail.org/contact.html">contact us</a>.</li>
<li>Our sample code below requires third-party Python module <code>requests</code>. For
more details, please read its official documentation:
<a href="http://docs.python-requests.org/en/master/">Requests: HTTP for Humans</a></li>
<a href="https://docs.python-requests.org/en/master/">Requests: HTTP for Humans</a></li>
</ul>
</div>
<p>Sample Python code to interact iRedAdmin-Pro RESTful API.</p>
<pre><code>import sys
import requests
url = 'http://&lt;server&gt;/iredadmin/api'
url = 'https://&lt;server&gt;/iredadmin/api'
# Admin email address and password.
admin = 'postmaster@mydomain.com'