Skip to content

Commit aa02179

Browse files
authored
Update README.md
1 parent 5056375 commit aa02179

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,20 @@ External API for importing JSON file into Consul
140140
This feature has been added in order to Import large amount of data to the consul without using the UI.
141141
a simple basic `token` is used to authenticate and `rights` to import the data through `backend/api.php`.
142142
143-
`Rights` : always use `111`
143+
**Rights** : always use `111`
144144
145-
`Authorization` : `Basic GbYpjCigzBM4PayeozwG`, which is configured in `api.php`
146-
147-
- Method : `POST`
148-
- URL : consul-tree requests URL e.g. : `http://localhost/consul-tree/backend/api.php`
145+
**Authorization** : `Basic GbYpjCigzBM4PayeozwG`, which is configured in `api.php`
146+
```
147+
- Method : POST
148+
- URL : http://localhost/consul-tree/backend/api.php
149149
- form-data :
150-
- method : `IMPORT`
151-
- consul : consul url e.g. : `http://192.168.220.145:8500/v1/kv/`
150+
- method : IMPORT
151+
- consul : http://192.168.220.145:8500/v1/kv/
152152
- file : exported JSON file which will be imported.
153153
- Headers :
154-
- Authorization : `Basic GbYpjCigzBM4PayeozwG`, which is configured in `api.php`
155-
- Rights : `111`
156-
154+
- Authorization : Basic GbYpjCigzBM4PayeozwG, which is configured in api.php
155+
- Rights : 111
156+
```
157157
158158
Release Notes
159159
---------

0 commit comments

Comments
 (0)