From d461a2ad1c750691784a5ee4f361e2dc80910030 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Dec 2014 11:58:04 -0800 Subject: [PATCH] CRM-15722 - fixes transposed keys in REST URL output --- 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 4455c960e0..428ba07e73 100644 --- a/templates/CRM/Admin/Page/APIExplorer.js +++ b/templates/CRM/Admin/Page/APIExplorer.js @@ -398,7 +398,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 + "&json=" + JSON.stringify(params) + "&api_key=yoursitekey&key=yourkey" + rest: CRM.config.resourceBase + "extern/rest.php?entity=" + entity + "&action=" + action + "&json=" + JSON.stringify(params) + "&api_key=yourkey&key=sitekey" }; smartyStub = false; $.each(params, function(key, value) { -- 2.25.1