Article - CS320539
Require the socket.lua Module for use with the ThingWorx Edge MicroServer
Modified: 07-Feb-2020
Applies To
- ThingWorx Edge MicroServer 5.0 to 5.4.7
Description
- Using ThingWorx Edge MicroServer (EMS) to create a remote service that
ultimately sends an HTTP PUT Request to another REST API and need socket.lua - Creating HTTP based socket with the Edge MicroServer is failing
- In order to make HTTP Requests calls are made to socket.lua which is not present in the EMS
- socket.lua Module expected to be located in <Edge MicroServer>/etc/community/lua/socket but it is not included
- Call to require socket fails in LUA code
- Location of the LuaSocket Library for EMS
This is a printer-friendly version of Article 320539 and may be out of date. For the latest version click CS320539