Thuta Learning
API Tutorial
IntermediateWeb Developmentintermediate

API Key ဖြင့် ခွင့်ပြု

API Key

text
curl -X GET "https://api.example.com/v1/users"   -H "X-API-KEY: YOUR_API_KEY"   -H "Accept: application/json"

🎯 Result[ { "id": "u_1", "name": "Alice" }, { "id": "u_2", "name": "Bob" } ]

အကြံပြုချက် Client-side ထဲတွင် API Key ကို မဖြန့်ပါနှင့်။ Server-side သာသုံးပါ։

API Key ဖြင့် ခွင့်ပြု | Thuta Learning