# HTTP İstemcisi (Go) > http.Client, request'ler, timeout'lar, transport, yönlendirmeler, cookie'ler, özel header'lar - 18 mülakat soruları - Mid-Level - [Mülakat Soruları: Go](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari.md) ## 1. http.Get ve http.Client.Get arasındaki temel fark nedir? **Cevap** http.Get hiçbir özelleştirme sunmayan varsayılan bir HTTP istemcisi (http.DefaultClient) kullanır, http.Client.Get ise timeout'lar, yönlendirme politikaları veya özel transport gibi parametrelerin yapılandırılmasına izin verir. Üretimde, request davranışını kontrol etmek ve süresiz bloklanmayı önlemek için özel bir HTTP istemcisi oluşturmak önerilir. ## 2. http.Client.Timeout ayarlanmazsa ne olur? **Cevap** Açık bir timeout olmadan, HTTP istemcisi sunucu yanıtını süresiz bekler; bu da sunucu yanıt vermezse uygulamayı bloklayabilir. Varsayılan timeout sıfırdır, yani zaman sınırı yoktur. Bloklanan goroutine'leri ve kaynak sızıntılarını önlemek için üretimde her zaman makul bir timeout ayarlayın. ## 3. Bir HTTP request'ine özel header'lar nasıl eklenir? **Cevap** Özel header'lar, request http.NewRequest ile oluşturulduktan sonra http.Request.Header.Set() veya Header.Add() ile eklenir. Set metodu mevcut değerleri değiştirir, Add ise aynı anahtar için yeni bir değer ekler. Bu yaklaşım kimlik doğrulama, içerik müzakeresi veya request'leri özel tanımlayıcılarla izleme için gereklidir. ## 15 soru daha mevcut - response.Body.Close() çağırmak neden önemlidir? - Hangi HTTP metodu sunucuya JSON verisi göndermeye olanak tanır? Ücretsiz kaydol: https://sharpskill.dev/tr/login ## Diğer Go mülakat konuları - [Go Temelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-basics.md): 25 soru, Junior - [Go Veri Yapıları](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-data-structures.md): 20 soru, Junior - [Go Arayüzleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-interfaces.md): 18 soru, Junior - [Hata Yönetimi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/error-handling.md): 20 soru, Junior - [Goroutine Temelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/goroutines-basics.md): 20 soru, Junior - [Channels](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/channels.md): 22 soru, Junior - [Go Modules](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-modules.md): 18 soru, Mid-Level - [HTTP Sunucusu](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/http-server.md): 24 soru, Mid-Level - [JSON Kodlama](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/json-encoding.md): 20 soru, Mid-Level - [Database/SQL](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/database-sql.md): 22 soru, Mid-Level - [context Paketi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/context-package.md): 20 soru, Mid-Level - [Testing](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/testing.md): 22 soru, Mid-Level - [Eşzamanlılık Desenleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/concurrency-patterns.md): 24 soru, Mid-Level - [Senkronizasyon İlkelleri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/sync-primitives.md): 22 soru, Mid-Level - [Go Web Framework'leri](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/go-web-frameworks.md): 20 soru, Mid-Level - [REST API Tasarımı](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/rest-api-design.md): 20 soru, Mid-Level - [gRPC](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/grpc.md): 22 soru, Mid-Level - [Reflection](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/reflection.md): 20 soru, Senior - [Bellek Yönetimi](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/memory-management.md): 24 soru, Senior - [Performans Optimizasyonu](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/performance-optimization.md): 22 soru, Senior - [Generics](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/generics.md): 20 soru, Senior - [Go Design Patterns](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/design-patterns.md): 24 soru, Senior - [Microservices](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/microservices.md): 24 soru, Senior - [Güvenlik ve Kimlik Doğrulama](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/security-authentication.md): 24 soru, Senior - [Docker & Containerization](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/docker-containerization.md): 20 soru, Senior - [Kubernetes Basics](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/kubernetes-basics.md): 22 soru, Senior - [İleri Düzey Go](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/advanced-go.md): 20 soru, Senior - [CLI Geliştirme](https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/cli-development.md): 20 soru, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/tr/technologies/go/mulakat-sorulari/http-client