在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:aaronpowell/httpstatus开源软件地址:https://github.com/aaronpowell/httpstatus开源编程语言:C# 66.4%开源软件介绍:httpstat.usWelcome 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. TechThe site is .NET 6 and it is hosted as a containerised Azure AppService. Self hostingIf 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 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论