REST

api yani application programming interface bir yazilimin diger bir yazilimla haberlesmesini saglar.

Enveloping (veya “envelope pattern”), JSON verilerini tek bir “zarf” (envelope) içinde sarmalama yöntemidir.

Normal JSON gönderim:

{
    "id": 1,
    "name": "Talha",
    "age": 22
}

Enveloping ile gönderim:

{
    "status": "success",
    "message": "User retrieved successfully",
    "data": {
        "id": 1,
        "name": "Talha",
        "age": 22
    },
    "meta": {
        "requestId": "abc123",
        "timestamp": "2025-09-28T09:30:00Z"
    }
}