我想得到我的流量参数,例如,http://localhost:8000/?param1=12
。
如果我想在我的应用程序中使用param1,我该怎样以及在哪里可以做到这一点?
谢谢。
马克桑斯
httproute
组件/endpoint/
+检查respond automatically
code
组件并与HTTP route
连接code
你可以使用:// now can get a value from query arguments
value.query.param1
// Performs next proccessing
send(0, value);
或者您可以使用httplistener
组件,但此组件捕获所有请求。 httplistener
包含与httproute
相同的属性。