# 1.Web API คืออะไร

💬 มาทำความรู้จักกันก่อนว่า Web API คืออะไรกันก่อนน๊าาาา

{% embed url="<https://www.youtube.com/watch?v=7dtgTlV1b6w&list=PLUjAn8nwWniheN3OLy6i7xu1VYq4Tzj7p&index=2>" %}

{% hint style="info" %}
**PayPal APIs**\
[https://developer.paypal.com/docs/api/overview](https://developer.paypal.com/docs/api/overview/#)
{% endhint %}

## 🎯 สรุปสั้นๆ

### 👨‍🚀 Web API คือ

สิ่งที่ช่วยให้เราสร้างช่องทางในการทำงานกับโปรแกรมของเรา โดยคนที่มาใช้ API เหล่านั้นต้องทำตามมาตรฐานที่เราตั้งไว้เท่านั้นถึงจะสามารถทำงานร่วมกับโปรแกรมของเราได้

{% hint style="info" %}
Web API มีหลายแบบ บางแบบก็ให้ใครเข้ามาใช้งานก็ได้ บางแบบก็ต้องไปสมัครก่อนถึงจะใช้งานได้ บางแบบก็เป็นแบบภายในเท่านั้น ซึ่งพวกบริษัทเจ้าดังๆ เช่น Microsoft, Google, Facebook จะมีมาตรฐานในการสร้าง API ให้เราดูเป็นตัวอย่างศึกษาที่ค่อนค่างดีมากครับ
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://www.saladpuk.com/web/web-api-101/intro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
