Thanks.
That might work inside LUCI. I'm sorry, I wasn't clear enough. I want
to use the library to actually create my own web application. I don't
want to integrate it into LUCI.
But thanks anyways. :-)
Levente
On Fri, Sep 8, 2017 at 12:15 PM, Karl Palsson wrote:
>
> Here's a snippet I've u
Here's a snippet I've used to accept HTTP POST of a file to in
luci...
http = require("luci.http")
local method = http.getenv("REQUEST_METHOD")
local pathinfo = http.getenv("PATH_INFO") -- from luci
--- if method == post and path info == allowed for your requirements.
http.se
Dear LEDE developers,
Maybe this is off topic, but I'm trying to use LUCI's HTTP protocol
parser library for to upload a file to the system. I find very little
documentation on this.
I have the following code that obviously does nothing. Could you help
me add the missing parts?
http = require