testing script for REST cURL calls to retrieve JSON objects via HTTP GET or POST verbs