Skip to content
  • Recent
  • Categories
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Yeti)
  • No Skin
Collapse

FastQA

  1. Home
  2. Categories
  3. Interview Questions
  4. Can you explain RESTful principles and how they apply to API design?

Can you explain RESTful principles and how they apply to API design?

Scheduled Pinned Locked Moved Interview Questions
restful principstatelessclient-serveruniform interfa
1 Posts 1 Posters 12 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fastqaF Offline
    fastqaF Offline
    fastqa
    wrote on last edited by fastqa
    #1

    RESTful principles are a set of guidelines for designing networked applications. They rely on a stateless, client-server, cacheable communications protocol -- the HTTP protocol is commonly used.

    Key Principles

    • Stateless: Each request from client to server must contain all the information needed to understand and process the request.
    • Client-Server: Separates the user interface concerns from the data storage concerns. Improves portability across multiple platforms.
    • Cacheable: Responses must define themselves as cacheable or non-cacheable to prevent clients from reusing stale or inappropriate data.
    • Uniform Interface: Simplifies and decouples the architecture, which enables each part to evolve independently.
    • Layered System: Architecture is composed of hierarchical layers by constraining component behavior.
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Recent
    • Categories
    • Tags
    • Popular
    • World
    • Users
    • Groups