Can Kong Plugin expose rest end-point?

Can Kong Plugin expose rest end-point to receive back-end’s rest request?

This request is not sent through the kong gateway, but is requested to Kong Plugin from another back–end server.
Not an end-point for the Admin API
When data change in back-end service, I want to deliver to Kong plugin through rest end-point.

I found that I could send a rest request to another service via lua “http.request”, but I couldn’t find a way to receive the rest request.
Is there a way to receive the rest request from the back-end server in the Kong plugin?
If possible, please let me know how Kong plugin can receive both http and https.


© 2018 Kong Inc.    Terms  •  Privacy  •  FAQ