beebon-collector

collect data via post requests

Usage no npm install needed!

<script type="module">
  import beebonCollector from 'https://cdn.skypack.dev/beebon-collector';
</script>

README

collector

collect data via post requests

send data

$ curl -H "Content-Type: application/json" -X POST -d \
    '{
       "type": "some type",
       "data": "some data"
     }' http://<:ip>:<:port>/api/key/<:key>/tag/<:tag>

$ curl -H "Content-Type: application/json" -X POST -d     '{
       "type": "some type",
       "data": "some data"
     }' http://localhost:3000/api/key/key1234/tag/123