Python Example
import cookielib, urllib, urllib2 jar = cookielib.CookieJar() baseurl = 'https://sample.nodeurl.tld/api' username = '' password = '' authentication = {'email': username, 'password': password } fields = {'object': 'supporter', 'groupBy': 'Date_Created'} base_handle = urllib2.build_opener(urllib2.HTTPCookieProcessor(jar)) apihandle = base_handle.open(baseurl + '/authenticate.sjs',urllib.urlencode(authentication)) apihandle = base_handle.open(baseurl + '/getCounts.sjs',urllib.urlencode(fields)) source = apihandle.read() apihandle.close() print source