随机搞笑段子

GET
https://apix.iqfk.top/api/duanzi

接口描述

随机搞笑段子

请求参数

暂无数据

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: ''
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "data": {
    "index": 136,
    "duanzi": "如果你放弃了今天的自己,你就战胜了明天的你。"
  }
}