REST API| Full Stack Development| SNS Institutions
Автор: vanitha gopalsamy
Загружено: 2026-01-18
Просмотров: 2
#snsinstitutions
#snsdesignthinkers
#designthinking
Definition
REST is an architectural style for designing scalable and lightweight web services using HTTP.
REST Principles
Client–Server separation
Stateless communication
Uniform interface
Resource-based URLs
Cacheable responses
REST API Example
GET /api/students
POST /api/students
GET /api/students/101
PUT /api/students/101
DELETE /api/students/101
Advantages of REST
Platform independent
Easy to integrate
Uses standard HTTP
Scalable and flexible
4. JSON (JavaScript Object Notation)
Definition
JSON is a lightweight data-interchange format used to exchange data between client and server.
JSON Characteristics
Text-based
Human-readable
Language-independent
Faster than XML
JSON Data Types
String
Number
an
Array
Object
Null
5. Relationship Between HTTP, REST, and JSON
Component Role
HTTP Communication protocol
REST API design style
JSON Data format
Example Flow
Client → HTTP GET Request
Server → REST API
Server → JSON Response
Client → Displays data
6. Advantages of Modern Web Architecture
Loose coupling
High scalability
Easy maintenance
Supports mobile & web apps
Cloud friendly
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: