From de69691f999513624f0da4e478f114c0944e0e82 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 6 Oct 2015 14:46:07 -0400 Subject: [PATCH] CRM-14748 - Clarify rest url in api explorer --- templates/CRM/Admin/Page/APIExplorer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Admin/Page/APIExplorer.js b/templates/CRM/Admin/Page/APIExplorer.js index ffac1c3240..3e24961063 100644 --- a/templates/CRM/Admin/Page/APIExplorer.js +++ b/templates/CRM/Admin/Page/APIExplorer.js @@ -555,7 +555,7 @@ json: "CRM.api3('" + entity + "', '" + action + "'", drush: "drush cvapi " + entity + '.' + action + ' ', wpcli: "wp cv api " + entity + '.' + action + ' ', - rest: CRM.config.resourceBase + "extern/rest.php?entity=" + entity + "&action=" + action + "&api_key=yourkey&key=sitekey&json=" + JSON.stringify(params) + rest: CRM.config.resourceBase + "extern/rest.php?entity=" + entity + "&action=" + action + "&api_key=userkey&key=sitekey&json=" + JSON.stringify(params) }; smartyPhp = []; $.each(params, function(key, value) { -- 2.25.1