soulsoul commented on a change in pull request #1296: add chinese version URL: https://github.com/apache/incubator-apisix/pull/1296#discussion_r395408777
########## File path: doc/getting-started-cn.md ########## @@ -0,0 +1,256 @@ +<!-- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +--> +[English](getting-started.md) +# 开速入门指南 + +本指南的目的是介绍如何使用 APISIX 来配置出一个安全的可以对外提供服务的 API 。当您读完本指南 ,你需要自己安装一下 APISIX 应用, 并准备好一个可以对外提供服务的 API ,该服务将由 API key 进行访问保护。 + +以下 GET 请求可以用来指南的教学 。 该服务可以回显发送到这个 API 的传参 。 + +```bash +$ curl --location --request GET "https://httpbin.org/get?foo1=bar1&foo2=bar2" +``` + +让我们来分析一下这个URL请求 + +- Scheme: HTTPS +- Host/Address: httpbin.org +- Port: 443 +- URI: /get +- Query Parameters: foo1, foo2 + +## 前提 + +- 本指南使用 docker 和 docker compose 来安装 APISIX 。 但是 , 如果您已经以其他方式安装了 APISIX ,您只需跳到 [第二步](getting-started-cn.md#第二步:-在-APISIX-中设置路由) 。 +- Curl:指南使用 Curl 命令进行 API 测试,但是您也可以使用您选择的任何其他工具( 例如 Postman )。 + +## 第一步: 安装 APISIX + +APISIX 可以多种操作环境中安装 。 [以下文档](how-to-build.md#installation-via-source-release) 显示了多个平台中的安装步骤 。 Review comment: got it ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
