[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-12-02 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-985145426 I will turn this issue into a discussion, which has nothing to do with the project. -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-12-02 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-985145226 > but my ngx.socket.tcp() always return 400 Bad Request,how can i reslove this problem This is a matter of the request method or request parameters. It has to do with

[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-12-01 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-983449154 > based on last request returned Status to send different req you can last request returned Status get by `get_last_failure`,

[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-12-01 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-983446028 As I've already said, if you want to send the request in the body_filter phase, you can use ngx.timer to do so,see:

[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-11-30 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-982618806 I cannot got what you want to do. BTW, ngx.redirect is unavailable in `body_filter_by_lua`, see: https://github.com/openresty/lua-nginx-module#ngxredirect -- This is an

[GitHub] [apisix] tzssangglass commented on issue #5643: request help: body_filter how to send request in apisix

2021-11-29 Thread GitBox
tzssangglass commented on issue #5643: URL: https://github.com/apache/apisix/issues/5643#issuecomment-982353405 we can use a 0 delay `ngx.timer.at`, see: https://github.com/openresty/lua-nginx-module#ngxtimerat -- This is an automated message from the Apache Git Service. To respond to