APIExplorer - Split "Rest" in two ("Rest" vs "curl")
authorTim Otten <totten@civicrm.org>
Thu, 28 Jan 2021 00:16:33 +0000 (16:16 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 28 Jan 2021 00:20:21 +0000 (16:20 -0800)
commita10f4f58c5d491ccafd8a7c33816b426d48e6314
tree141aeffd34e5ef1b64b5fafe7e9fac1762c0170b
parentbf4426fa10a8a7a148c8c7ef927a59878885324d
APIExplorer - Split "Rest" in two ("Rest" vs "curl")

We're serving a dual purpose of educating generally about the REST request,
and providing an example that is runnable.

However, we're not doing either well if the REST example is simultaneously
incorrect and an obscure block of text.

This splits it into two examples, one emphasizing general structure
and the other emphasizing precision/correctness.
templates/CRM/Admin/Page/APIExplorer.js
templates/CRM/Admin/Page/APIExplorer.tpl