REST API Nedir?

Representational state transfer; İlgili isteğe karşılık gelen verinin JSON / XML gibi dosya formatlarında gönderilmesidir. REST API, REST mimarisinin prensiplerine taşıyan API’lardır. Tüm prensiplerin karşılanması durumunda RESTful API olarak da adlandırılır.

REST API

Özetle, bir uygulamada gerçekleştirmek istediğimiz ek bir işlemi, o işlemi sağlayan başka bir uygulamadan API kullanarak gerçekleştirebiliriz.

REST Prensipleri

  • İstemci – Sunucu: (Client – Server)
  • Tek Tip Arayüz: (Uniform Interface)
  • Durumsuzluk: (Statelessness)
  • Önbelleklenebilir: (Cacheable)
  • Katmanlı Sistem: (Layered System)
  • İsteğe Bağlı Kod: (Code On Demand - Optional)


Daha Fazlası İçin

Quiz

Answer the questions to check your understanding.

This lesson includes a short quiz.

Lesson discussion

Swap insights and ask questions about REST API

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.