So, to send payload  body parameter could be used?

On Wednesday, October 14, 2015 at 4:33:29 PM UTC+5:30, David Karban wrote:
>
> Hi, 
>
> this error usually means problem in indentation, body souhld be two spaces 
> deeper I guess. But cannot be sure, as you have not sent your task here :).
>
> David Karban
> Linux server specialist/Specialista na správu linuxových serverů
> www.karban.eu
>
> 2015-10-14 12:59 GMT+02:00 Sharwari Phadnis <sharwar...@gmail.com 
> <javascript:>>:
>
>> I am trying to *send a payload(in JSON)* to a destination mentioned in 
>> the URL. For this purpose I am using* uri module and POST method*. How 
>> can I send it using uri module? I am using ansible* version 1.9.1* and 
>> when I tried to use *body parameter* for uri module it shows the 
>> following error:* body is not a legal parameter in an Ansible task or 
>> handler*. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/a396f9dd-370d-44d9-9a21-149901848f88%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/a396f9dd-370d-44d9-9a21-149901848f88%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e211196d-372b-4ffd-af3b-f87899b69a82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to