github.com/Jeffail/benthos/v3@v3.65.0/resources/docker/schema_registry/insert_schema.sh (about)

     1  #!/bin/sh
     2  curl -s \
     3    -X POST "http://localhost:8081/subjects/benthos_example/versions" \
     4    -H "Content-Type: application/vnd.schemaregistry.v1+json" \
     5    -d "$(cat blob_schema.json | jq '{schema: . | tostring}')" \
     6    | jq