mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -196,14 +196,16 @@ EXAMPLES = '''
|
||||
method: POST
|
||||
body: "name=your_username&password=your_password&enter=Sign%20in"
|
||||
status_code: 302
|
||||
HEADER_Content-Type: "application/x-www-form-urlencoded"
|
||||
headers:
|
||||
Content-Type: "application/x-www-form-urlencoded"
|
||||
register: login
|
||||
|
||||
- uri:
|
||||
url: https://your.form.based.auth.example.com/dashboard.php
|
||||
method: GET
|
||||
return_content: yes
|
||||
HEADER_Cookie: "{{login.set_cookie}}"
|
||||
headers:
|
||||
Cookie: "{{login.set_cookie}}"
|
||||
|
||||
- name: Queue build of a project in Jenkins
|
||||
uri:
|
||||
|
||||
Reference in New Issue
Block a user