implementing CURL will query for all IDS