Post by Sude Nur Çevik
Operational Technologies MOM/MES Assistant Specialist @ SOCAR Türkiye
[TR] Merhabalar, Geçtiğimiz hafta yayınlanan yeni HTTP QUERY method üzerine biraz araştırma yaptım ve akılda oluşabilecek temel soruları toparlayan bir yazı hazırladım. - QUERY method nedir? - Neden böyle bir method’a ihtiyaç duyuldu? - GET ve POST ile yaptığımız mevcut çözümler hangi noktalarda yetersiz kalıyor? - Sensitive data, idempotency ve caching gibi konularda neyi daha doğru ifade etmemizi sağlıyor? - GraphQL gibi alternatif yaklaşımlardan farkı ne? Kısaca, yıllardır özellikle karmaşık arama ve filtreleme senaryolarında kullandığımız POST /search yaklaşımını yeniden düşünmemizi sağlayan bir konu. Bazen body’ye ihtiyaç duyuyoruz, ama aslında hâlâ sadece veri okuyoruz. QUERY method da tam olarak bu aradaki semantik boşluğu adresliyor. Detaylı okumak isterseniz yazıya bu post üzerinden ulaşabilirsiniz. [EN] Hi everyone, I recently spent some time researching the newly published HTTP QUERY method and put together a blog post covering the main questions that might come to mind. - What is the QUERY method? - Why was such a method needed? - Where do the existing solutions with GET and POST fall short? - What does it help us express more clearly around sensitive data, idempotency, and caching? - How is it different from alternative approaches like GraphQL? In short, it is a topic that makes us rethink the POST /search pattern we have been using for years, especially in complex search and filtering scenarios. Sometimes we need a request body, but we are still only reading data. The QUERY method addresses exactly this semantic gap. You can find the full article in the linked post if you would like to read more.