Issue is resolved.Issue is due to extra \

https://xxx.com//projects?$filter=Name%3D%27jinja%27

----------------------------

On Thursday, 11 July 2019 17:47:00 UTC+5:30, Thusharika Anumapuram wrote:
>
> example - so i need to fetch list of names i want to run this final 
> template which will be rendered and will fetch the resources using rest API.
>
> - name: Fetch name list using rest api
>   uri:
>     url: "{{ https://xxx.com}}/names?\$filter=Name%3D%27jinja%27";
>
> so using Curl iam able to fetch the list f names using below syntax 
> however when using in jinja templates iam getting syntax error "missing 
> quotes"
>
> curl --insecure -H "Authorization: Basic xxxxxxxxx" -H "Content-Type: 
> application/json" https://xxx.com//projects?\$filter=Name%3D%27jinja%27
>
>
>  
>
> how can we use filter when invoking rest API .This should be by final url 
> : https://xxx.com/names?\$filter= name="jinja".So how should we use this 
> for jinja templateas issue is during rendering. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pocoo-libs+unsubscr...@googlegroups.com.
To post to this group, send email to pocoo-libs@googlegroups.com.
Visit this group at https://groups.google.com/group/pocoo-libs.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pocoo-libs/cfc6458e-2a89-4ac4-b38f-b1869ec187fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to