Flask-Shell2HTTP
Flask-Shell2HTTP copied to clipboard
[New Feature] intercepting arguments before command execution
Discussed in https://github.com/eshaan7/Flask-Shell2HTTP/discussions/56
Originally posted by tomvanderputte November 6, 2023 Is it possible to intercept and change the dynamic arguments before the command is triggered? The reason is: the arguments point to input/output files in a certain location. The application that sends the POST requests is not aware of this location (nor do I want it to be), so it sends only the filename.
So I want to edit the arguments/parameters to predfix the sent arguments with the correct path. How could I achieve this?