我正在尝试使用 Crossbar 的重定向服务重定向 http 请求 (GET)。我正在为请求使用“curl”。重定向似乎工作正常,但我无法将我的(查询)参数传递到最终目的地。具体来说,我正在做:
curl -L "http://localhost:8008/redirection?num=15"
在 localhost:8008 正在运行交叉开关路由器。路径“/redirection”在 Crossbar 的配置文件中定义:
"redirection":{
    "type": "redirect",
    "url": "http://somewhere.com/something" 
},
服务器的响应(例如http://somewhere.com/something)是:
{
 "detail": "Missing query parameter 'num'",
 "status": 400,
 "title": "Bad Request",
 "type": "about:blank"
}
我究竟做错了什么?