russell.brown

How to use LUA in NAS to execute external REST API calls?

Discussion created by russell.brown on Mar 2, 2018
Latest reply on Apr 5, 2018 by NestorFalcon

Hi People,

 

We're looking to perform REST API calls via a LUA script in the NAS using JSON objects.

 

In fact this has been singled out as a critical piece of work within the solution being implemented...

 

Has anyone in the community attempted to do this before?

I wanted to ask before I embark on this potentially complicated solution

 

Currently we're looking at installing OpenSSL and utilising LuaSocket, LuaSec and json.lua libraries...

 

This will allow UIM to potentially integrate with any other tool with a REST API.

 

Any advice welcome.

 

Kind Regards

 

Russell Brown

Outcomes