Thuta Learning
ရှာဖွေရန်
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