1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove unneeded quotes - windows/win_uri.py (#18828)

This commit is contained in:
Fabio Alessandro Locati 2016-12-15 19:38:02 +01:00 committed by Matt Davis
parent cf5449c5d9
commit 8dc3b60d0f

View file

@ -71,31 +71,24 @@ author: Corwin Brown (@blakfeld)
""" """
EXAMPLES = """ EXAMPLES = """
# Send a GET request and store the output:
---
- name: Perform a GET and Store Output - name: Perform a GET and Store Output
win_uri: win_uri:
url: http://www.somesite.com/myendpoint url: http://example.com/endpoint
register: http_output register: http_output
# Set a HOST header to hit an internal webserver: # Set a HOST header to hit an internal webserver:
---
- name: Hit a Specific Host on the Server - name: Hit a Specific Host on the Server
win_uri: win_uri:
url: http://my.internal.server.com url: http://example.com
method: GET method: GET
headers: headers:
host: "www.somesite.com" host: www.somesite.com
# Do a HEAD request on an endpoint
---
- name: Perform a HEAD on an Endpoint - name: Perform a HEAD on an Endpoint
win_uri: win_uri:
url: http://www.somesite.com url: http://www.example.com
method: HEAD method: HEAD
# Post a body to an endpoint
---
- name: POST a Body to an Endpoint - name: POST a Body to an Endpoint
win_uri: win_uri:
url: http://www.somesite.com url: http://www.somesite.com