---
title: recettes
slug: spanish/recettes
createdAt: 2026-03-20T18:00:24.977Z
---

| <font color="#EAB304">sdsadasdsa</font> |   | sadasdasd |
| --------------------------------------- | - | --------- |
|                                         |   |           |
|                                         |   |           |
|                                         |   |           |

| <font color="#EAB304">asasdasdas</font> |   |   |
| --------------------------------------- | - | - |
|                                         |   |   |
|                                         |   |   |
|                                         |   |   |

:::ApiMethodV2
```json
{
  "name": "Get Cakes",
  "method": "GET",
  "url": "https://api.cakes.com",
  "description": "Obtenir un gâteau par son ID",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "dzulJLPzRxGbU40kOyNZc",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"id\": \"string\"\n});\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.cakes.com\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "dzulJLPzRxGbU40kOyNZc"
  },
  "results": {
    "languages": [
      {
        "id": "64iE40XFSrFnBf3JRb1cc",
        "language": "200",
        "code": "{\n  \"name\": \"Nom du gâteau\",\n}",
        "customLabel": ""
      },
      {
        "id": "vLfCWdCRyeP-TaOExjiYW",
        "language": "404",
        "code": "{\n  \"message\": \"Il n'y a pas de gâteau comme celui-là.\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "64iE40XFSrFnBf3JRb1cc"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "id",
        "kind": "required",
        "type": "string",
        "description": "ID du gâteau à obtenir"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Paramètre du corps",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "get-cakes",
  "legacyHash": "BcS2_fspbZj0AV-dH2jVZ"
}
```
:::

