吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1012|回复: 3
收起左侧

[求助] CSDN签到请求API接口求助get post

[复制链接]
aedelnz 发表于 2021-12-3 06:03
签到请求
[PHP] 纯文本查看 复制代码
https://miniapp-api.csdn.net/uc/sign/app/appSign


完成数据返回
[PHP] 纯文本查看 复制代码
{
  "code": 200,
  "message": "请求成功",
  "data": 4
}

签到完成反回接口
[Asm] 纯文本查看 复制代码
https://miniapp-api.csdn.net/uc/sign/app/appSignInfo

完成数据返回
[JavaScript] 纯文本查看 复制代码
{  "code": 200,
  "message": "请求成功",
  "data": {
    "totalIncome": "0.3",
    "canGetForceExtraMoney": false,
    "signInfo": [
      {
        "income": "0.01",
        "isAward": 0,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.1"
      },
      {
        "income": "0.01",
        "isAward": 0,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.1"
      },
      {
        "income": "0.02",
        "isAward": 0,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.2"
      },
      {
        "income": "0.03",
        "isAward": 1,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.3"
      },
      {
        "income": "0.05",
        "isAward": 0,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.5"
      },
      {
        "income": "0.08",
        "isAward": 0,
        "forceIncomeExtra": "0.0",
        "forceIncome": "0.8"
      },
      {
        "income": "0.13",
        "isAward": 1,
        "forceIncomeExtra": "2.1",
        "forceIncome": "1.3"
      }
    ],
    "currentDay": 4,
    "signText": "再签3天,可领连签奖0.13元",
    "serialDay": 4,
    "isSign": true
  }
}

模拟user-agent:
[Asm] 纯文本查看 复制代码
MI CC 9e(Android/10) (net.csdn.csdnplus/4.19.1) Weex/0.26.0 720x1481A2zml/

基本上就是这么回事,
谁会以PHP的get请求完成
把它变成API接口的类型

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
diaoming + 1 + 1 我很赞同!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

chaojiak47 发表于 2021-12-3 08:48
你没发登录的包,签到要带cookie
ken931016 发表于 2021-12-3 08:55
用guzzlehttp就好了,文档: https://guzzle-cn.readthedocs.io/zh_CN/latest/
 楼主| aedelnz 发表于 2021-12-3 16:54
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-25 19:21

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表