This cURL script works fine for accessing my API:
curl -X GET -H "ACCEPT: application/xml" -H "X-AUTH-TOKEN: cee8d8a1afd5921dc1efe1817"
" -o out.txt
APNMB is a field in the database.
What I get back is:
<?xml version="1.0" encoding="utf-8"?>
All I want back is the app number, which is 13629198
Other than writing to a temp file and stripping it out, is there a way directly in cURL to just get the app number returned?