TGViewer
Chavy Scripts Chavy Scripts @chavyscripts · 10.2K subscribers
Post #258 14.9K
#EnvJs更新

本次更新针对开发者:
新增queryStr API

为了处理 POST 请求中form-data 情况,将 Object 直接转成 queryString 格式

使用方法如下:
const body = { key: val }

const opts = {
url: 'xxxx',
headers: {},
body: $.queryStr(body)
}

$.post(opts, (err, resp, body) => {
console.log(body)
})
  • 👍 8
More from @chavyscripts
  1. Jul 15, 2026#Relay 1.0.1(build 13) What's New! - 支持纯JSON内容导入订阅(无需订阅 URL,某种程度上也算是匿名订阅) - 结合skill和纯JSON内…
  2. Apr 17, 2026macOS 新建文件夹
  3. Mar 27, 2026video post
  4. Mar 25, 2026全新 UI
  5. Mar 12, 2026让 AI 写了个 Scritable 的脚本看看 Claude 使用量 地址: https://github.com/gideonsenku/Scriptable/blob/mas…
  6. Feb 13, 2026同程旅行脚本 /** * * hostname = app.17u.cn * * # Surge * http-request ^https:\/\/app\.17u\.cn\/w…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →