You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
Handling POST request is easy in Torch. You can get POST variables by calling request.getPostData().getVariable("postvarname"). This will return you a PostVariable object. You can call getName() and getValue() on it to get it's name/value.
You can also iterate over the post variables just like you did with the route variables: