Lua api documentation

Hello guys.

I am starting to use some serverless functions in my services, but it has not been an easy task since I couldn’t find any documentation about it.

What I could find is https://docs.konghq.com/0.13.x/lua-reference/, but looks like that is incomplete, since there are no references of methods like kong.service.request.set_header().

Am I looking in the wrong place or missing something? Can you help with that?

Thanks.

Hi,

Methods such as the one you gave as an example are only available as part of the PDK (Plugin Development Kit), which was released in 0.14.0. You can find documentation for it at:

Great, that´s exactly what I need. Thank you