الانتقال إلى المحتوى الرئيسي
الأكاديمية
مبتدئ حيّ الكود

واجهات API

REST وGraphQL وgRPC وWebSockets.

Every app you use is a conversation between programs. When you open your feed, a client asks a server for posts and gets JSON back, and the rules of that conversation are an API. This track starts from zero: HTTP requests and responses, status codes, JSON, curl and fetch, then designing clean REST resources. After that you learn what makes developers love an API: safe keys and tokens, pagination, errors that help, rate limits, versioning and webhooks, and when to reach for GraphQL, gRPC or WebSockets instead.

Every example is a real HTTP exchange you can read line by line.

الدروس
١٤
الوقت
٢ ساعة
المستوى
مبتدئ

دروس هذا المسار بالإنجليزية حاليًا.

  • البرونز متاحة
  • الفضة متاحة
  • الذهب مقفلة

مستعد لإثبات نفسك؟

ثلاثة امتحانات في انتظارك: البرونز والفضة والذهب.

إلى الامتحانات

ما ستتمكن من فعله

  • Read any HTTP request and response: method, path, headers, body and status
  • Call APIs from the terminal with curl and from JavaScript with fetch
  • Design clean REST resources and pick the right status codes
  • Keep keys safe, page through long lists and return errors that help
  • Change an API without breaking clients, and verify webhook signatures
  • Know when REST, GraphQL, gRPC or WebSockets fits best

الرحلة

  1. ١
    الوحدة ١

    Talking HTTP

    What an API is, requests and responses, status codes, JSON with curl and fetch, and REST design.

    ٠ / ٥
  2. ٢
    الوحدة ٢

    APIs people love

    Authentication, pagination, helpful errors, rate limits, versions, webhooks and other API styles.

    ٠ / ٥
  3. ٣
    الوحدة ٣

    Next level

    Describe, build, secure and test APIs for real users.

    ٠ / ٤

التنقل السريع