Browse Source

docs: add Code Snippets

pull/1966/head
Wing-Kam Wong 3 years ago
parent
commit
62612c9f8d
  1. 45
      packages/noco-docs/content/en/setup-and-usages/code-snippets.md

45
packages/noco-docs/content/en/setup-and-usages/code-snippets.md

@ -0,0 +1,45 @@
---
title: 'Code Snippets'
description: 'Code Snippets'
position: 540
category: 'Product'
menuTitle: 'Code Snippets'
---
## Overview
Open a Project, Select a Table and Click `Get API Snippet` on the bottom right area.
<img width="1335" alt="image" src="https://user-images.githubusercontent.com/35857179/166663362-43ffe3cc-1053-4bf6-a65e-e4b8bae69fcb.png">
A modal box will be shown with sample code snippet for List API.
![image](https://user-images.githubusercontent.com/35857179/166663478-3f802012-7bdc-4265-9ffe-6e51c4bcf4cd.png)
## Supported Snippet
### Shell
- cURL
- wget
### Javascript
- Axios
- Fetch
- jQuery
- XHR
### Node
- Axios
- Fetch
- Request
- Native
- Unirest
### NocoDB SDK
- Javascript
- Node
### PHP
### Python
- http.client
- request
### Ruby
### Java
### C
Loading…
Cancel
Save