added test json api REST call