Customize Plugin

Hello,

I’m new at kong, but I’ve been liking. I’m creating a customize plugin and I implemented the access method, but I need to interrupt the routing, but I don’t kown. I tried return, but keep the routing.

Someone help me.
Thanks

Are you looking to return a response to the client? If so, you’re probably looking for kong.response.exit .

I’m trying to stop routing, for example if the request missing some parameters… but I don’t this method, but I’ll try. Thanks


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ