惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

WishMeLz - NodeJS

Electron 主进程起一个可用的 HTTPS 静态服务器 - WishMeLz 宝塔Node管理器安装node版本提示:文件下载失败,请手动安装! - WishMeLz Minio 之 Nodejs - WishMeLz nuxt项目本地启动,多开标签一直显示加载中 - WishMeLz nvm win10安装 - WishMeLz nodejs 对接邮箱服务 imap - WishMeLz PM2搭配nvm使用不同版本Node启动项目 - WishMeLz nodejs 生成网站sitemap.xml - WishMeLz SSE(Server-Sent Events) - WishMeLz
EA Racenet API - WishMeLz
WishMeLz · 2026-06-01 · via WishMeLz - NodeJS

公共请求头:

const headers = {
    Authorization: `Bearer eyJraWQiOiIw`
}

1、查询

GET:https://web-api.racenet.com/api/Friend/profile 好友中搜索

GET:https://web-api.racenet.com/api/Friend/search 非好友中搜索

请求参数,路径参数

{ 
    searchTerm: "", // 搜索关键字
    pageNumber: 1,
    pageSize: 20,
    includePreferences: true
}

返回值

{
  pageNumber: 1,
  pageCount: 1,
  totalFriends: 1,
  friends: [
    {
      ssid: '1011785487515',
      displayName: 'xxxx',
      profileImage: null,
      coverPhoto: null,
      lastPlayed: null,
      isPrivate: false
    }
  ]
}

示例

axios.get(`https://web-api.racenet.com/api/Friend/profile`,
    {
        headers,
        params: {
            searchTerm: 'eaname',
            pageNumber: 1,
            pageSize: 20,
            includePreferences: true
        }
    })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.log(`查询失败`);
    });

删除

DELETE:https://web-api.racenet.com/api/Friend/remove

请求参数,路径参数

{
  friendSSID:"123123"
}

返回值

true

示例

axios.delete(`https://web-api.racenet.com/api/Friend/remove`,
    {
        headers,
        params: {
            friendSSID: "2301125583"
        }
    })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.log(`删除失败`);
    });

添加好友

POST:https://web-api.racenet.com/api/Friend/request

请求参数,路径参数

{
    friendSSID:'13123'
}

返回值

true

示例

axios.post(`https://web-api.racenet.com/api/Friend/request`,
    {
        headers,
        params: {
            friendSSID: "2301125583"
        }
    })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.log(`添加失败`);
    });