feat: extend code snippet to support method
This commit is contained in:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user