Skip to content

Commit b15c09c

Browse files
committed
Make simpler home snippet.
1 parent c0ecf57 commit b15c09c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sites/build_home_samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ def make_home_samples():
132132
133133
# Do login!
134134
POST https://example.org/login
135-
X-CSRF-TOKEN: {{csrf_token}}
136135
[Form]
137136
user: toto
138137
password: 1234
138+
token: {{csrf_token}}
139139
HTTP 302
140140
""",
141141
),

sites/hurl.dev/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ csrf_token: xpath "string(//meta[@name='_csrf_token']/@content)"
3030
3131
# Do login!
3232
POST https://example.org/login
33-
X-CSRF-TOKEN: {{csrf_token}}
3433
[Form]
3534
user: toto
3635
password: 1234
36+
token: {{csrf_token}}
3737
HTTP 302
3838
```
3939
{% endraw %}

0 commit comments

Comments
 (0)