-
I'm trying to avoid writing multiple scripts for the same basic functionality. I want to get the name of the request: @name login
POST ... and use it in a post request so I can name the file 'login.json'. Is that possible with Kulala? |
Beta Was this translation helpful? Give feedback.
Answered by
YaroSpace
Jun 10, 2025
Replies: 1 comment 4 replies
-
I do not quite understand what you want to do, but yes, you can get any request data in a lua script, e.g. https://neovim.getkulala.net/docs/scripts/lua-scripts#request |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, since Lua is native, you have access to all internal data. With JS only a subset, which we need to serialize back and forth between nvim and node process.