Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Change readme to show both curl and snapctl as options
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxbat committed Dec 1, 2015
1 parent 5019a43 commit d26f83a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,18 @@ snap gets its power from the use of plugins. The [Plugin Catalog](#plugin-catalo

- [ ] TODO - guide or pointer to building one of our plugins...

Next, lets load a few of the demo plugins. You can do this via cURL, or `snapctl`, snap's CLI:
Next, lets load a few of the demo plugins. You can do this via cURL, or `snapctl`, snap's CLI.

Using cURL
```sh
curl -X POST -F plugin=@build/plugin/snap-collector-mock1 http://localhost:8181/v1/plugins
curl -X POST -F plugin=@build/plugin/snap-processor-passthru http://localhost:8181/v1/plugins
curl -X POST -F plugin=@build/plugin/snap-publisher-file http://localhost:8181/v1/plugins
```

And:
Or:

Using `snapctl`
```sh
$ ./bin/snapctl plugin load build/plugin/snap-collector-mock1
$ ./bin/snapctl plugin load build/plugin/snap-processor-passthru
Expand Down

0 comments on commit d26f83a

Please sign in to comment.