Using ansibles uri module, how would you figure out if the url is being created correctly? It seems to me like its dropping something or not adding something.
-name: Get messages from xyz
uri:
url: https://api.domain.com/random/message
method: GET
body_format: form-urlencoded
body:
-[from, 8484924]
register: messagesxyz
Expectation is that the uri module url encodes this data as https://api.domain.com/random/message/?from=8484924 . What appears to be happening based off a guess is it is not adding anything. Anyway to see what url it is generating?
I have tried various formats for the body as well
body:
from: 8484924
body:
'from=8484924'