Yazılım İngilizcesi · API, Ağ ve Güvenlik

Status code ne demek?

Yazılımda anlamı, Türkçe karşılığı ve örnek cümleler

/ˈsteɪtəs koʊd/isimSık kullanılan terim

Status code, yazılımda durum kodu, HTTP durum kodu anlamına gelir.

HTTP yanıtında istemciye ne olduğunu bildiren üç haneli sayı; örneğin başarı için 200, bulunamadı için 404, sunucu hatası için 500.

English: A three-digit number in an HTTP response that tells the client what happened, such as 200 for success, 404 for not found or 500 for a server error.

Nerede ve nasıl kullanılır?

Geliştiriciler durum kodlarını okur ve döndürür; çoğu zaman sadece sayıyı söyler: 'I'm getting a 401', 'It returns a 500.' 4xx aralığındaki kodlar istekteki, 5xx kodları ise sunucudaki bir sorunu gösterir.

Örnek cümleler

  1. The endpoint should return status code 201 when the order is created.

    Sipariş oluşturulduğunda endpoint 201 durum kodu döndürmeli.

  2. Check the status code first; the body is empty when it's a 204.

    Önce durum koduna bak; 204 geldiğinde gövde boş oluyor.

Sık kullanılan kalıplar

  • return a status code
  • HTTP status code
  • error status code
  • check the status code

Bu kelime başka alanlarda

Aynı İngilizce kelime başka bir alanda farklı bir anlama gelebilir:

Aynı konudan: API, Ağ ve Güvenlik

Seviyene uygun okumayla pekiştir

Yeni kelimelerin kalıcı olmasının en hızlı yolu seviyene uygun metin okumaktır. Seviyene göre ücretsiz İngilizce kitaplar: