Skip to content

How to develop plugins in APISIX? #5272

Answered by shuaijinchao
zgLiuBing asked this question in Q&A
Discussion options

You must be logged in to vote

You need to understand the concept of OpenResty's execution phase. The upstream response data can be obtained through header_filter and body_filter. The APISIX plug-in also supports the definition of these two stages.
https://moonbingbing.gitbooks.io/openresty-best-practices/content/ngx_lua/phase.html

It is recommended to read this book, which can help you solve many basic problems in the development of OpenResty.
https://moonbingbing.gitbooks.io/openresty-best-practices/content/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tzssangglass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
doc Documentation things
2 participants
Converted from issue

This discussion was converted from issue #5264 on October 18, 2021 12:34.