Infoblox Exchange Cybersecurity Roadshow 2020 – Join us!
North America | Europe | Middle East/Africa | Asia-Pacific

API Examples

Reply
Highlighted

Is there a way to filter a response in an API call (using curl) to list just the first item?

kconeil
Techie
Posts: 1
4141     0

 

<?xml version="1.0"?>
<list>
<value type="object">
<names> <list>
<value>sep700b4f9c7cd8.aepsc.com</value>
<value>SEP700B4F9C7CD8</value>
<value>SEP700B4F9C7CD8.aepsc.com</value>
</list>
</names> <_ref>ipv4address/Li5pcHY0X2FkZHJlc3MkMTAuMTY0LjY4Ljg1LzA:10.164.68.85</_ref>
<ip_address>10.164.68.85</ip_address>
</value>

 

Of the list of names, can I change the curl call to return just the first name (sep700b4f9c7cd8.aepsc.com)?

Showing results for 
Search instead for 
Do you mean 

Recommended for You