Skip to content

Commit ec2c9db

Browse files
committed
Merge branch 'main' into reorg
2 parents d474900 + a663e9c commit ec2c9db

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

docs/courses/level-two/chapter-1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,17 @@ return items[0].json.workEmail.map(item => {
207207

208208
### Exercise
209209

210-
1. Use the **HTTP Request node** to make a GET request to the Quotable API `https://api.quotable.io/quotes`. (This API requires no authentication).
210+
1. Use the **HTTP Request node** to make a GET request to the PokéAPI `https://pokeapi.co/api/v2/pokemon`. (This API requires no authentication).
211211
2. Transform the data in the `results` field with the **Split Out node**.
212212
3. Transform the data in the `results` field with the **Code node**.
213213

214214

215215
??? note "Show me the solution"
216216

217-
1. To get the quotes from the Quotable API, execute the **HTTP Request node** with the following parameters:
217+
1. To get the pokemon from the PokéAPI, execute the **HTTP Request node** with the following parameters:
218218
- **Authentication**: None
219219
- **Request Method**: GET
220-
- **URL**: https://api.quotable.io/quotes
220+
- **URL**: https://pokeapi.co/api/v2/pokemon
221221
2. To transform the data with the **Split Out node**, connect this node to the **HTTP Request node** and set the following parameters:
222222
- **Field To Split Out**: results
223223
- **Include**: No Other Fields

docs/courses/level-two/chapter-2.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ Use the **XML node** to convert XML to JSON and JSON to XML. This operation is u
5757

5858
### XML Exercise
5959

60-
In the [final exercise of Chapter 1](/courses/level-two/chapter-1.md#exercise_2), you used an **HTTP Request node** to make a request to the Quotable API. In this exercise, we'll return to that same API but we'll convert the output to XML:
60+
In the [final exercise of Chapter 1](/courses/level-two/chapter-1.md#exercise_2), you used an **HTTP Request node** to make a request to the PokéAPI. In this exercise, we'll return to that same API but we'll convert the output to XML:
6161

62-
1. Add an **HTTP Request node** that makes the same request to the Quotable API at `https://api.quotable.io/quotes`.
62+
1. Add an **HTTP Request node** that makes the same request to the PokéAPI at `https://pokeapi.co/api/v2/pokemon`.
6363
2. Use the XML node to convert the JSON output to XML.
6464

6565
??? note "Show me the solution"
6666

67-
1. To get the quotes from the Quotable API, execute the **HTTP Request node** with the following parameters:
67+
1. To get the pokemon from the PokéAPI, execute the **HTTP Request node** with the following parameters:
6868
- **Authentication**: None
6969
- **Request Method**: GET
70-
- **URL**: https://api.quotable.io/quotes
70+
- **URL**: https://pokeapi.co/api/v2/pokemon
7171
2. Connect an **XML node** to it with the following parameters:
7272
- **Mode**: JSON to XML
7373
- **Property name**: data

docs/hosting/configuration/environment-variables/security.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
33
title: Security environment variables
4-
description: Configure authentication and environment variable access in self-hosted n8n instance.
4+
description: Configure authentication and environment variable access in self-hosted n8n instance.
55
contentType: reference
66
tags:
77
- environment variables
@@ -20,4 +20,5 @@ hide:
2020
| `N8N_RESTRICT_FILE_ACCESS_TO` | String | | Limits access to files in these directories. Provide multiple files as a colon-separated list ("`:`"). |
2121
| `N8N_BLOCK_FILE_ACCESS_TO_N8N_FILES` | Boolean | `true` | Set to `true` to block access to all files in the `.n8n` directory and user defined configuration files. |
2222
| `N8N_SECURITY_AUDIT_DAYS_ABANDONED_WORKFLOW` | Number | 90 | Number of days to consider a workflow abandoned if it's not executed. |
23-
| `N8N_SECURE_COOKIE` | Boolean | `true` | Ensures that cookies are only sent over HTTPS, enhancing security.|
23+
| `N8N_SECURE_COOKIE` | Boolean | `true` | Ensures that cookies are only sent over HTTPS, enhancing security.|
24+
| `N8N_SAMESITE_COOKIE` | Enum string: `strict`, `lax`, `none` | `lax` | Controls cross-site cookie behavior ([learn more](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite)):<ul><li>`strict`: Sent only for first-party requests.</li><li>`lax` (default): Sent with top-level navigation requests.</li><li>`none`: Sent in all contexts (requires HTTPS).</li></ul> |

0 commit comments

Comments
 (0)