مختبر واجهات برمجة التطبيقات (API Tester)
اختبر واجهات برمجة تطبيقات REST بميزات متقدمة
Collections
History
🔗Query Parameters
No query parameters yet
Add parameters to append to your URL
📊Response
No response yet - Click Send to make your first request
Powerful API Testing Features
Everything you need for comprehensive API testing, from basic requests to advanced automation
Real API Testing
Test actual APIs with full HTTP method support including GET, POST, PUT, DELETE, PATCH, and more.
Multi-Auth Support
Supports Bearer tokens, Basic authentication, API keys, and custom authentication methods.
Smart History
Save and manage your test requests with a complete history of all API calls with search.
Code Generation
Generate code snippets in multiple programming languages for your API requests.
Auto Testing
Create assertions and test cases to validate your API responses automatically.
Environment Vars
Manage environment variables and switch between different API environments easily.
Common Use Cases
Discover how our API Tester can help you with different testing scenarios
REST API Testing
Test RESTful APIs with proper HTTP methods and headers
GET /api/usersAuthentication Testing
Test OAuth, JWT tokens, and API key authentication
Bearer Token AuthResponse Validation
Validate JSON responses and status codes
Assert status === 200Environment Variables
Use variables for different environments
{{BASE_URL}}/apiBatch Testing
Run multiple tests in sequence
Collection RunnerCode Export
Export requests as cURL, JavaScript, Python
curl -X POST...🚀مرحبًا بك في مختبر واجهات برمجة التطبيقات
تساعدك هذه الأداة في اختبار وتصحيح أخطاء نقاط نهاية API بسهولة. لنبدأ!
- اختبار أي طريقة HTTP (GET، POST، PUT، DELETE، إلخ.)
- إضافة رؤوس مخصصة ومصادقة
- دعم متغيرات البيئة
- سجل الطلبات والطلبات المحفوظة
- تمييز بناء جملة JSON
- إنشاء كود لعدة لغات
📝إعداد الطلب الأساسي
ابدأ بإدخال عنوان URL واختيار طريقة HTTP.
عنوان URL: https://jsonplaceholder.typicode.com/posts/1
الوصف: This will fetch a sample post from JSONPlaceholder API
🔑المصادقة والرؤوس
أضف المصادقة والرؤوس المخصصة إلى طلباتك.
- رمز المانح (Bearer Token): لرموز JWT و OAuth
- المصادقة الأساسية (Basic Auth): لمصادقة اسم المستخدم/كلمة المرور
- مفتاح API: لمصادقة مفتاح API
- رؤوس مخصصة: أضف أي رؤوس مخصصة تحتاجها
📦نص الطلب والمعلمات
أضف معلمات الاستعلام ونص الطلب لطلبات POST/PUT.
{
"title": "My Post",
"body": "This is the content",
"userId": 1
}📊تحليل الاستجابة
عرض وتحليل استجابات API الخاصة بك بميزات محسّنة.
- رمز الحالة: مرمّز بالألوان لسهولة التعرف
- وقت الاستجابة: تتبع أداء API
- تمييز JSON: تمييز بناء الجملة لاستجابات JSON
- رؤوس الاستجابة: عرض جميع رؤوس الاستجابة
- نسخ/تنزيل: حفظ الاستجابات لاستخدامها لاحقًا
⚡️الميزات المتقدمة
استكشف الميزات المتقدمة مثل متغيرات البيئة وإنشاء الكود.
- متغيرات البيئة: إدارة بيئات مختلفة (التطوير، التدريج، الإنتاج)
- سجل الطلبات: عرض وإعادة تشغيل الطلبات السابقة
- الطلبات المحفوظة: حفظ الطلبات المستخدمة بشكل متكرر
- إنشاء الكود: إنشاء كود في cURL، Axios، Fetch
💡Pro Tips for Better API Testing
Use Environment Variables
Set up variables like {{API_URL}} for different environments
Save Frequent Requests
Use collections to organize and reuse your most common API calls
Add Response Tests
Create assertions to automatically validate status codes and response data
Export to Code
Generate ready-to-use code snippets for your applications