Skip to content

Instantly share code, notes, and snippets.

@peterdemartini
Created June 28, 2017 21:22
Show Gist options
  • Save peterdemartini/b2a583063ca4b2c326c1e3dc2428420a to your computer and use it in GitHub Desktop.
Save peterdemartini/b2a583063ca4b2c326c1e3dc2428420a to your computer and use it in GitHub Desktop.
curl \
--fail \
--location \
--silent \
--data '{"name":"Meshblu Connector Say Hello","connector":"meshblu-connector-say-hello","type":"device:say-hello","githubSlug":"octoblu/meshblu-connector-say-hello","version": "latest"}' \
--request POST \
--header 'Content-Type: application/json' \
--user 'my-octoblu-uuid:my-octoblu-token' \
'https://connector-service.octoblu.com/users/my-octoblu-connector-uuid/connectors'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment