Start a new topic

I am unable to create a custom endpoint

I go to BusinessLogic->Custom Endpoint and get the following:



function onRequest(request, response, modules){



}



**I add:**

function onRequest(request, response, modules)

{

var push=modules.push;

push.broadcastMessage(request.body.message);



var Logger = modules.logger;

Logger.info(request.body.message);

return response.complete(201);

}



The buttons on the right - Save Message/Save do nothing when pressed

This is probably the problem. We don't support IE in our current system. Can you try it on a different browser? Chrome, Firefox, or Safari all work well.
IE 10 - Windows 7 64-Bit
Hey there, I moved this to Business Logic. What browser are you using?
Login or Signup to post a comment