SkillAgentSearch skills...

Httpstatus

No description available

Install / Use

/learn @shfshanyue/Httpstatus
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HTTP STATUS

HTTP.DEVTOOL.TECH 可通过路径名称直接访问到对应的状态码。如:

本网站内容参考以下网站

工具推荐

代码示例

API

除了状态码,本站还提供了 API 用于 HTTP 测试。

Cookie

获取所有 Cookie,配置 Cookie,并支持配置属性如 Domain、Path、SameSite、MaxAge 等。

# 获取 Cookies
$ curl https://http.devtool.tech/api/cookies

# 配置 Cookie 为 a: 3
$ curl https://http.devtool.tech/api/cookies/set/a/3

# 配置 Cookie 为 a: 3,且 httpOnly: true, secure: true, maxAge: 100, sameSite: Lax
$ curl https://http.devtool.tech/api/cookies/set/a/3?secure=true&httpOnly=true&maxAge=100&sameSite=Lax

缓存

配置服务器端的 Cache Control 以及 Age 属性,用以测试缓存。

目前部署在 Vercel 中,Age 会被 Proxy 所拦截。

# 配置 Cache-Control
$ curl https://http.devtool.tech/api/cache?cacheControl=no-store&age=1000

# 配置 Cache-Control: 100
$ curl https://http.devtool.tech/api/cache/100

# 配置 Cache-Control: 31536000
$ curl https://http.devtool.tech/api/cache/31536000
View on GitHub
GitHub Stars17
CategoryDevelopment
Updated11mo ago
Forks2

Languages

MDX

Security Score

62/100

Audited on May 1, 2025

No findings