RESTful (JSON) api ivestigation, with testing