adobe-javascript-http-client
adobe-javascript-http-client copied to clipboard
Socket does not have a constructor
I could be overlooking something obvious, but when I run this:
var data = $http({
method: 'POST',
payload: {
username: "My Webhook Name",
content: "The message to send"
},
url: 'http://myURL/andsuch'
});
I get this:
Runtime Error: Error Code# 22: Socket does not have a constructor @ file
I'm not sure why it's not seeing SOCKET as I thought this was included in extendscript.
I am having the same issue. Any help with a resolution would be awesome!!!
Maybe check out https://github.com/grefel/restix