> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ar/web/api-testing.md).

# اختبار واجهات البرمجة التطبيقية

ملاحظات اختبار واجهة برمجة التطبيقات (API) لمختبرات أكاديمية أمان الويب من PortSwigger، مع التركيز على خطوات الاختبار العملية، والتحقق باستخدام Burp Suite، وسلوك الحمولة، وسير عمل الاستغلال.

## سير عمل الاختبار

1. حدِّد الميزة الضعيفة والطلب أو المعلمة أو الرأس أو ملف تعريف الارتباط أو نقطة الإدخال على جانب المتصفح ذات الصلة.
2. أعِد إنتاج السلوك في Burp Suite باستخدام حمولة بسيطة قبل تصعيد الهجوم.
3. تحقق من الأثر بإثبات مفهوم واضح، مثل الوصول إلى الحساب، أو كشف البيانات، أو تنفيذ التعليمات البرمجية، أو SSRF، أو تغيير الحالة.
4. احتفظ بالحمولات وعناوين URL والرموز وبيانات اعتماد المختبر دون تغيير أثناء توثيق مسار الاستغلال.

## المختبرات

<table><thead><tr><th data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/pages/42131f805110b61b425546fd0530325ca917c1fb">/pages/42131f805110b61b425546fd0530325ca917c1fb</a></td></tr><tr><td><a href="/pages/b69bd8ba0b822880c2f63dfc11c4d569243d92d7">/pages/b69bd8ba0b822880c2f63dfc11c4d569243d92d7</a></td></tr><tr><td><a href="/pages/50dcba131a554e1468bf2dc68294c2ee88fefdbf">/pages/50dcba131a554e1468bf2dc68294c2ee88fefdbf</a></td></tr><tr><td><a href="/pages/25087463cdf8b06bc781af0a07515ba2834d6554">/pages/25087463cdf8b06bc781af0a07515ba2834d6554</a></td></tr><tr><td><a href="/pages/4e21f533ff05f646feac8a24473f6dfee443a8da">/pages/4e21f533ff05f646feac8a24473f6dfee443a8da</a></td></tr><tr><td><a href="/pages/615537c3e63695fdd4f3203dfe4a7c403010eb90">/pages/615537c3e63695fdd4f3203dfe4a7c403010eb90</a></td></tr><tr><td><a href="/pages/5aa0d4e9427f4c8760159fc9d2459248327e168e">/pages/5aa0d4e9427f4c8760159fc9d2459248327e168e</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/web/api-testing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
