- 2025年05月13日
- 星期二
我想使用Kong作为我的API网关,在Docker容器中运行.每个请求必须首先通过NgInx服务器,如果请求的uri与example.com/api匹配,则必须生成在Kong内注册的api.为此,我使用以下命令将我的API添加到Kong:curl -i -X POST –url ipnumber:8001/apis -d name=my-api -d
我想使用Kong作为我的API网关,在Docker容器中运行.每个请求必须首先通过NgInx服务器,如果请求的uri与example.com/api匹配,则必须生成在Kong内注册的api.为此,我使用以下命令将我的API添加到Kong:curl -i -X POST –url ipnumber:8001/apis -d name=my-api -d