Skip to content

Socket does not have a constructor #1

@russellaugust

Description

@russellaugust

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions