TANKING
V2EX  ›  PHP

微信网页版通讯协议,微信初始化的时候怎么 post json 数据?

  •  
  •   TANKING · Jun 1, 2018 · 3468 views
    This topic created in 2934 days ago, the information mentioned may be changed or developed.

    我是看了这篇文章,想学通过 php 进行登陆微信网页版,文章:https://blog.csdn.net/thmail/article/details/73839584

    卡在了第五步,POST 方式提交一个 json 数据组合到一个接口:https://wx2.qq.com/cgi-bin/mmwebwx-bin/webwxinit

    有人研究过 php 操作微信吗?

    4 replies    2018-06-08 13:50:04 +08:00
    TANKING
        2
    TANKING  
    OP
       Jun 1, 2018
    @justdoit920823 不懂 py 哎,只会 php
    mingyun
        3
    mingyun  
       Jun 2, 2018
    curl 设置 content-type:json 提交 json 就行
    TANKING
        4
    TANKING  
    OP
       Jun 8, 2018
    @mingyun 还是不太明白
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2899 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 10:29 · PVG 18:29 · LAX 03:29 · JFK 06:29
    ♥ Do have faith in what you're doing.