/snowplow

Snowplow homework

Primary LanguageScala

Snowplow homework

Run server

sbt run

Or run tests

sbt test

Upload schema and verify document

curl -i http://localhost:8080/schema/config -X POST -d @data/config-schema.json

Get schema

curl http://localhost:8080/schema/config | python -m json.tool

Validate correct doc

curl -i http://localhost:8080/validate/config -X POST -d @data/config.json

Validate wrong doc

curl -i http://localhost:8080/validate/config -X POST -d @data/config-error.json