v.douyin.com生成制作抖音缩短口令网址php接口方法

v.douyin.com是抖音官方的接口,可以制作头条,火山,抖音短视频等官方域名的任意生成接口,可以推广抖音号,第三方网址,头条文章等,效果非常号,这里记录下api接口。

提交参数:

请求URI: (POST)http://www.vdouyincom.cn/txapi/codec/index
执行时间: 0.103198766708
请求参数: {
  "key": "3cbcec50f42c481f34c0fdc186e826d8",
  "qrpic": "data:image/png;base64,"
}


Request Header:
Content-Length: 72
Content-Type: application/x-www-form-urlencoded

  

返回参数:

Response Header:
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 31 Mar 2020 00:36:35 GMT
Content-Type: application/json;charset=utf8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,OPTIONS
Access-Control-Allow-Headers: Content-Type,Access-Control-Allow-Headers,X-Requested-with,Origin
TianAPI-Cache: OK
Vary: Accept-Encoding
Via: 3831


Response Body:
{
  "code": 200,
  "msg": "success",
  "newslist": [
    {
      "qrtype": "Text",
      "qrcodec": "http://v.douyin.com/xxxxx"
    }
  ]
}

  

猜你喜欢

转载自www.cnblogs.com/douyin618/p/12602872.html
今日推荐