> For the complete documentation index, see [llms.txt](https://pond-3.gitbook.io/pond-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pond-3.gitbook.io/pond-docs/undefined/api-postman.md).

# ทดสอบเส้น API ด้วย Postman

ให้เราเข้าไปที่Folder routes เเล้วดูว่าเรากำหนด path อะไรใน server.js เราทำ path อะไรไว้เเละทดสอบด้วย body ปรับเป็นไฟล์ JSON ใส่ body ใน raw ให้ถูกต้องตามเส้นของเรา ทำ request อย่างน้อย 4 แบบ: GET, POST, PUT/PATCH, DELETE\
\
**สิ่งที่ต้องส่ง ทุก request ผ่านทุก 4 เเบบ**

<figure><img src="/files/cedgZYDV6zWx3n1TVf5m" alt=""><figcaption></figcaption></figure>

> อย่าลืมใส่ token
