简体   繁体   English

在 WSO2 中给出端口号和传递的参数

[英]Give port number and passed parameters in WSO2

I am trying to learn WSO2 but have been stuck at a minor step which i believe should be quite easy to do.我正在尝试学习 WSO2,但一直停留在我认为应该很容易做到的一个小步骤上。 While creating a new api i need to give the production endpoint.在创建新 api 时,我需要提供生产端点。 What i want to give is the url along with the port as well.我想提供的是 url 以及端口。 So it should be something like this: Production Endpoint : http://localhost:9000 However this gives a invalid url.所以它应该是这样的: Production Endpoint : http://localhost:9000但是这给出了一个无效的 url。 How can i specify port along with it.我如何指定端口。 Please help.请帮忙。 I have tried to go through the docs but could not find anything.我试图通过文档但找不到任何东西。 I am doing these through the admin UI available at http://myip:9443/publisher .我正在通过http://myip:9443/publisher提供的管理 UI 执行这些操作。 Please advice请指教

Edit: Adding image for clarity编辑:为清晰起见添加图像在此处输入图片说明

The Test button will send HTTP OPTION request to the endpoint, and if the endpoint supports HTTP OPTION request, then it will be shown as Valid, otherwise, it will be shown as Invalid Test 按钮会向端点发送 HTTP OPTION 请求,如果端点支持 HTTP OPTION 请求,则显示为 Valid,否则显示为 Invalid

As far as your backend point support the HTTP method you need, you don't need to worry about this Test button against the endpoint.只要您的后端点支持您需要的 HTTP 方法,您就不必担心这个针对端点的测试按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM