mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
removed deprecated HEADER_* from examples (#21395)
Even though the documentation says that HEADER_* parameter is deprecated, the examples still show its usage.
This commit is contained in:
parent
5f01cd4402
commit
2505d56401
1 changed files with 4 additions and 2 deletions
|
@ -196,14 +196,16 @@ EXAMPLES = '''
|
||||||
method: POST
|
method: POST
|
||||||
body: "name=your_username&password=your_password&enter=Sign%20in"
|
body: "name=your_username&password=your_password&enter=Sign%20in"
|
||||||
status_code: 302
|
status_code: 302
|
||||||
HEADER_Content-Type: "application/x-www-form-urlencoded"
|
headers:
|
||||||
|
Content-Type: "application/x-www-form-urlencoded"
|
||||||
register: login
|
register: login
|
||||||
|
|
||||||
- uri:
|
- uri:
|
||||||
url: https://your.form.based.auth.example.com/dashboard.php
|
url: https://your.form.based.auth.example.com/dashboard.php
|
||||||
method: GET
|
method: GET
|
||||||
return_content: yes
|
return_content: yes
|
||||||
HEADER_Cookie: "{{login.set_cookie}}"
|
headers:
|
||||||
|
Cookie: "{{login.set_cookie}}"
|
||||||
|
|
||||||
- name: Queue build of a project in Jenkins
|
- name: Queue build of a project in Jenkins
|
||||||
uri:
|
uri:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue