Skip to content

Commit

Permalink
change status to enabled (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymlair authored Oct 14, 2021
1 parent dc24ba2 commit 2df34b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/kie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if you want to run kie.go, you should do that:
3. run command to create a configuration to kie (if your ServiceComb-Kie server url is `http://127.0.0.1:30110`):

```shell
curl -X POST -H 'Content-Type:application/json' http://127.0.0.1:30110/v1/default/kie/kv -d '{"key": "user","labels":{"appId":"foo","serviceName":"bar","version":"1.0.0","environment":"prod"},"value":"admin","value_type":"text"}'
curl -X POST -H 'Content-Type:application/json' http://127.0.0.1:30110/v1/default/kie/kv -d '{"key": "user","labels":{"appId":"foo","serviceName":"bar","version":"1.0.0","environment":"prod"},"value":"admin","value_type":"text","status":"enabled"}'
```
and you will receive a response like:
```json
Expand Down

0 comments on commit 2df34b1

Please sign in to comment.