Httpstatus
Easily generate different HTTP responses for testing
Install / Use
/learn @aaronpowell/HttpstatusREADME
httpstat.us
Welcome to httpstat.us, your simplest way to test HTTP status codes!
Point your app to httpstat.us and append the status code you want to test, then make a request and we'll return that for you.
async function getData(url) {
const res = await fetch(url);
if (!res.ok) {
throw new Error("Failed to get data");
}
return await res.json();
}
getData("https://httpstat.us/500").then(console.log).catch(console.error);
Learn more at httpstat.us.
Tech
The site is .NET 9 and it is hosted as a containerised Azure AppService.
Self hosting
If you want, you are able to self-host the service using the provided image, which can be found on GitHub packages. This may be useful for testing HTTP status codes which are not available in Azure, or time outs longer than we support in the hosted version.
LICENSE
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
