Skip to main content
Oct 12, 2020 12:12 PM UTC
Question

Call REST API through LUA Script

Hi everyone,

I'm trying to call a rest api through lua script but receive a strange error. Module socket.core not found. I installed only EMS and Lua from PTC zip file. Is peraps needed to install lua source on machine? Can someone give me an example?

1 reply

Nov 4, 2020 6:39 PM UTC

Hi @flucciarini.

 

Are any of your REST calls working or is this the only one you're having issues with?  Can you provide some detail regarding the call being made?

 

Regards.

 

--Sharon