0 votes
in Ansible by

How can you use the Ansible module “uri” to make an HTTP request?

a) By providing the URL as a parameter to the module

b) By using the “method” parameter to specify the HTTP verb, and the “url” parameter to specify the URL

c) By using the “header” parameter to specify the HTTP headers

d) By using the “data” parameter to specify the request body

1 Answer

0 votes
by

Solution: b) By using the “method” parameter to specify the HTTP verb, and the “url” parameter to specify the URL

Explanation: The Ansible module “uri” can be used to make an HTTP request by using the “method” parameter to specify the HTTP verb and the “url” parameter to specify the URL.

...