【问题标题】:How to wiki POST with Python如何使用 Python 进行 wiki POST
【发布时间】:2017-10-25 13:31:56
【问题描述】:

实际上,我必须在大量 wiki 页面中更新重定向。为了避免愚蠢的工作,我想继续在 python 中使用 POST 请求。

因为我不清楚 wiki api,我想知道如何在 python 中做 wiki POST 请求?提前谢谢。

【问题讨论】:

标签: python http-post wiki


【解决方案1】:

您可以阅读请求库文档。解释得很好。

http://docs.python-requests.org/en/master/user/quickstart/

import requests
r = requests.post('http://httpbin.org/post', data = {'key':'value'})

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-29
    • 1970-01-01
    • 2020-09-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多