feat: extend code snippet to support method

This commit is contained in:
Stevan Freeborn committed 2023-04-14 21:45:41 -05:00
1 parent c3f65626be
commit e168c5b34c
6 files changed
+43 -4

No files matched your search

@@ -1,6 +1,6 @@
# Retrieving a record from an app
{% code heading="GET /Records/appId/{appID}/recordId/{recordID}" defaultLanguage="bash" %}
{% code method="GET" heading="/Records/appId/{appID}/recordId/{recordID}" defaultLanguage="bash" %}
```bash
curl --location 'https://api.onspring.com/Records/appId/195/recordId/1' \
@@ -1,6 +1,6 @@
# Retrieving records for an app
{% code heading="GET /Records/appId/{appID}" defaultLanguage="bash" %}
{% code method="GET" heading="/Records/appId/{appID}" defaultLanguage="bash" %}
```bash
curl --location 'https://api.onspring.com/Records/appId/195' \
@@ -1,6 +1,6 @@
# Retrieving a batch of records
{% code heading="POST /Records/batch-get" defaultLanguage="bash" %}
{% code method="POST" heading="/Records/batch-get" defaultLanguage="bash" %}
```bash
curl --location 'https://api.onspring.com/Records/batch-get' \