ข้ามไปเนื้อหา
เปิด/ปิดแถบข้าง
ค้นหา
เครื่องมือส่วนตัว
สร้างบัญชี
เข้าสู่ระบบ
การนำทาง
หน้าหลัก
เปลี่ยนแปลงล่าสุด
สุ่มหน้า
ความช่วยเหลือเกี่ยวกับมีเดียวิกิ
เครื่องมือ
หน้าที่ลิงก์มา
หน้าพิเศษ
สารสนเทศหน้า
ดูต้นฉบับสำหรับ มีเดียวิกิ:Apihelp-main-param-origin
ข้อความ
อภิปราย
ไทย
อ่าน
ดูต้นฉบับ
เพิ่มเติม
อ่าน
ดูต้นฉบับ
←
มีเดียวิกิ:Apihelp-main-param-origin
คุณไม่มีสิทธิแก้ไขหน้านี้ ด้วยเหตุต่อไปนี้:
ปฏิบัติการที่คุณขอนี้สงวนไว้เฉพาะผู้ใช้ในกลุ่ม:
ผู้ใช้
หน้านี้เป็นข้อความอินเตอร์เฟซสำหรับซอฟต์แวร์บนวิกินี้ และถูกป้องกันมิให้แก้ไขเพื่อป้องกันการก่อกวน หากต้องการเพิ่มหรือเปลี่ยนแปลงการแปลสำหรับทุกวิกิ โปรดใช้
translatewiki.net
โครงการแปลมีเดียวิกิเป็นภาษาถิ่น
คุณสามารถดูและคัดลอกรหัสต้นฉบับของหน้านี้
When accessing the API using a cross-domain AJAX request (CORS), set this to the originating domain. This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body). For authenticated requests, this must match one of the origins in the <code>Origin</code> header exactly, so it has to be set to something like <kbd>https://en.wikipedia.org</kbd> or <kbd>https://meta.wikimedia.org</kbd>. If this parameter does not match the <code>Origin</code> header, a 403 response will be returned. If this parameter matches the <code>Origin</code> header and the origin is allowed, the <code>Access-Control-Allow-Origin</code> and <code>Access-Control-Allow-Credentials</code> headers will be set. For non-authenticated requests, specify the value <kbd>*</kbd>. This will cause the <code>Access-Control-Allow-Origin</code> header to be set, but <code>Access-Control-Allow-Credentials</code> will be <code>false</code> and all user-specific data will be restricted.