> For the complete documentation index, see [llms.txt](https://appsmithcns-organization.gitbook.io/pageplug-wen-dang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appsmithcns-organization.gitbook.io/pageplug-wen-dang/lian-jie-dao-shu-ju-yuan/pei-zhi-api.md).

# 配置 API

> 如果您的 API 在公共互联网上不可用，则必须通过 <https://ngrok.com/> 等服务公开它

## API 编辑器

API 窗格是一个 REST 界面，允许您创建和修改现有 API。支持所有 REST HTTP 方法，并且可以在 headers、params 和 body 字段中配置 API 值

## 导入 CURL 命令

Appsmith 使用 CURL 命令可以轻松地将您的 API 导入您的应用程序。

## 将数据/参数传递给 API 调用

有多种方法可以将参数传递给 Appsmith 上的 API 调用。该视频展示了将数据传递给 API 调用的三种方法：

{% embed url="<https://youtu.be/znaaDiQbAS8>" %}
