طلب الرؤوس
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | http-status.p.rapidapi.com |
نقاط النهاية
GET
/v1/httpstatus Look up an HTTP status code's reason phrase, description, and category
حدود
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
code | integer | required | — | 100-599 |
أمثلة على الكود
curl --request GET \
--url 'https://http-status.p.rapidapi.com/v1/httpstatus?code=0' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: http-status.p.rapidapi.com' const url = "https://http-status.p.rapidapi.com/v1/httpstatus?code=0";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "http-status.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://http-status.p.rapidapi.com/v1/httpstatus"
querystring = {"code": 0}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "http-status.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) مثال تفاعلي
$ GET /v1/httpstatus?code=404
{"code":404,"phrase":"Not Found","description":"The server cannot find the requested resource.","category":"Client Error","rfc":"RFC 9110"} الاشتراك والترخيص
يمكنك الوصول إلى واجهة برمجة التطبيقات هذه بمستويات جاهزة للاستخدام التجاري على RapidAPI. خطط مرنة مصممة للمشاريع الجانبية والشركات الناشئة وهياكل الإنتاج كبيرة الحجم.
دعم المطورين
هل تحتاج إلى مساعدة في التكامل أو لديك طلب نقطة نهاية مخصص؟ فريقنا الهندسي موجود هنا للمساعدة في المصادقة ومخططات الحمولة وزيادة حدود معدل التردد العالي.
أداء النظام
مراقبة على مدار 24 ساعة طوال أيام الأسبوع مع وقت تشغيل بنسبة 99.9% لاتفاقية مستوى الخدمة. تم تصميمه فوق خدمات صغيرة سحابية أصلية مع تخزين مؤقت على الحافة موزع عالميًا لضمان أوقات استجابة منخفضة للغاية.
جميع الأنظمة التشغيلية