TGViewer
CodeVerse | دنیای برنامه نویسان CodeVerse | دنیای برنامه نویسان @codeverse_dev · 1.06K subscribers
Post #223 192
‌🌐 متد جدید QUERY رسماً به HTTP اضافه شد!

بعد از سال‌ها، RFC 10008 متد جدید QUERY را به HTTP اضافه کرد.

💡‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌QUERY مثل POST بدنه (Body) دارد، اما مثل GET ایمن (Safe) و قابل تکرار (Idempotent) است.

✅ مناسب برای کوئری‌های پیچیده و فیلترهای طولانی
✅ قابلیت Cache شدن مانند GET
✅ جایگزینی تمیزتر برای استفاده از POST در درخواست‌های فقط خواندنی
مثال:
QUERY /products { "category": "books", "price": "<50" } 

🚀 شاید در آینده، به جای استفاده از POST برای جستجوها، بیشتر از QUERY استفاده کنیم.

📖 منبع:

https://www.rfc-editor.org/info/rfc10008
#HTTP #API #Backend #WebDevelopment #Programming #CodeVerse 🚀
www.rfc-editor.org RFC 10008: The HTTP QUERY Method | RFC Editor This specification defines the QUERY method for HTTP. A QUERY requests that the request target process the enclosed content in a safe and idempotent manner and then respond with the result of that processing. This is similar to POST requests, but QUERY requests…
  • 👍 3
  • ❤ 1
More from @codeverse_dev
  1. Oct 9, 2026🧪ابزار Promptfoo: به جای حدس زدن، تست کن یه سؤال: وقتی یه پرامپت می‌نویسی، از کجا می‌فهمی…
  2. Oct 9, 2026📝 گوگل یک اپ یادداشت‌بردار صوتی آفلاین با هوش مصنوعی معرفی کرد! 🔹ابزار AI Edge Foresight…
  3. Oct 7, 2026👨‍💻 برنامه‌نویسی با AI راحت‌تر شده؛ پس چرا بعضی Developerها خسته‌تر شده‌اند؟ طبق نظرسنجی…
  4. Oct 7, 2026🚨 وردپرس 7.1.3 منتشر شد؛ این یکی را عقب نینداز وردپرس دیروز نسخه 7.1.3 را منتشر کرد؛ یک آ…
  5. Oct 6, 2026شرکت Google وارد یک درگیری جدی با ناشران شده ⚖️ رگولاتور رقابت لهستان اعلام کرده Google را…
  6. Oct 6, 2026اگر Windows 11 داری، قبل از نصب بعضی آپدیت‌ها حواست باشد ⚠️ مایکروسافت تأیید کرده آپدیت پی…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →