Removed method restriction in uri module
This commit is contained in:
parent
7255968f96
commit
1f37f2a152
1 changed files with 1 additions and 2 deletions
|
@ -73,7 +73,6 @@ options:
|
||||||
description:
|
description:
|
||||||
- The HTTP method of the request or response.
|
- The HTTP method of the request or response.
|
||||||
required: false
|
required: false
|
||||||
choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS", "PATCH" ]
|
|
||||||
default: "GET"
|
default: "GET"
|
||||||
return_content:
|
return_content:
|
||||||
description:
|
description:
|
||||||
|
@ -341,7 +340,7 @@ def main():
|
||||||
password = dict(required=False, default=None),
|
password = dict(required=False, default=None),
|
||||||
body = dict(required=False, default=None),
|
body = dict(required=False, default=None),
|
||||||
body_format = dict(required=False, default='raw', choices=['raw', 'json']),
|
body_format = dict(required=False, default='raw', choices=['raw', 'json']),
|
||||||
method = dict(required=False, default='GET', choices=['GET', 'POST', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'PATCH']),
|
method = dict(required=False, default='GET'),
|
||||||
return_content = dict(required=False, default='no', type='bool'),
|
return_content = dict(required=False, default='no', type='bool'),
|
||||||
force_basic_auth = dict(required=False, default='no', type='bool'),
|
force_basic_auth = dict(required=False, default='no', type='bool'),
|
||||||
follow_redirects = dict(required=False, default='safe', choices=['all', 'safe', 'none', 'yes', 'no']),
|
follow_redirects = dict(required=False, default='safe', choices=['all', 'safe', 'none', 'yes', 'no']),
|
||||||
|
|
Loading…
Reference in a new issue