Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Is there a way to filter a response in an API call (using curl) to list just the first item?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2019 03:39 PM
5918     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)?