deepstreamIO / deepstream.io

deepstream.io server
https://deepstreamio.github.io
MIT License
7.13k stars 382 forks source link

Endpoint not found Error for Http Request #1125

Closed rakshaySingh888 closed 1 year ago

rakshaySingh888 commented 1 year ago

We are getting "Endpoint not found" if we are trying to emit data to deepstream from an HTTP request. Am I missing anything in the config?

const requestBody = { body: [{ topic: 'event', action: 'emit', eventName: 'test-event', data: { some: 'data' } }] };

Sending this is in body for the url: localhost:6020

jaime-ez commented 1 year ago

see the docs for the default path: https://deepstreamio.github.io/docs/docs/server/configuration#http