From 6425fc19174d43d34e81dfcb64f0575f94291b8f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 14 Apr 2022 14:26:18 +0800 Subject: [PATCH] docs: update sdk Signed-off-by: Wing-Kam Wong --- .../noco-docs/content/en/developer-resources/sdk.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/noco-docs/content/en/developer-resources/sdk.md b/packages/noco-docs/content/en/developer-resources/sdk.md index 2b0e8b6c3b..2e3246ff24 100644 --- a/packages/noco-docs/content/en/developer-resources/sdk.md +++ b/packages/noco-docs/content/en/developer-resources/sdk.md @@ -1,12 +1,16 @@ --- -title: 'SDK' +title: 'NocoDB SDK' description: 'SDK' position: 1400 category: 'Developer Resources' -menuTitle: 'SDK' +menuTitle: 'NocoDB SDK' --- -We provide SDK for users to integrated with their applications. Currently only Javascript is supported. +We provide SDK for users to integrate with their applications. Currently only SDK for Javascript is supported. + + +Note: The NocoDB SDK requires API token for authorization. If you haven't created an API token, please check out API Tokens and create one first. + ### SDK For Javascript @@ -16,7 +20,7 @@ import { Api } from 'nocodb-sdk' const api = new Api({ baseURL: 'http://:', headers: { - 'xc-auth': '' + 'xc-token': '' } })