Lua Import API
Service endpoint for importing LUA embedding to enrich BigObject's capability.
Script name is what identifies the function provided, as specified by Programming for FIND
The POST body can be
multipart/form-data, or a direct stream. Endpoint accept
For direct streaming, the path name must be specified to match the name of the script uploaded. For instance
curl -v --data-binary "@./myawesomescript.lua" 127.0.0.1:9090/script/myawesomescript.lua
multipart/form-data upload scenario, users should not add last path
segment. Instead, users should declare the file name such that
filename field is set within
curl -v -F "file=@./myawesomescript.lua;filename=myawesomescript" 127.0.0.1:9090/script/
Users may include as many parts as they like to upload in a session.
Clients may optionally send gzip-ed content with
to reduce transfer time.