Method : POST

URI : /stream/<schema_name>/<stream_name>

Body : json document of the event

Example

curl -H "Content-Type: application/json" -d'{"vid":"v1","prod":"p1","refr":"google","price":123.45,"items":3}' -X POST http://192.168.1.105:18080/stream/ecomm/visitor

Response

{
   "errcode": 0
}

As you note, we inserted an event into the stream "visitor" of schema "ecomm" that we registered earlier.