Skip to content

Instantly share code, notes, and snippets.

@byalpir
Last active April 16, 2020 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byalpir/45087f660a9fc80c09eebd2d9f52f3dd to your computer and use it in GitHub Desktop.
Save byalpir/45087f660a9fc80c09eebd2d9f52f3dd to your computer and use it in GitHub Desktop.
: post source connector
curl -i -X POST -H "Accept:application/json" -H  "Content-Type:application/json" http://localhost:8083/connectors/ -d @source.json
: post sink connector
curl -i -X POST -H "Accept:application/json" -H  "Content-Type:application/json" http://localhost:8083/connectors/ -d @sink.json
: list connectors
curl -i -X GET -H "Accept:application/json" http://localhost:8083/connectors
: connector status
curl -i -X GET -H "Accept:application/json" http://localhost:8083/@connectorname/status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment