File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -140,20 +140,20 @@ External API for importing JSON file into Consul
140140This feature has been added in order to Import large amount of data to the consul without using the UI.
141141a 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
158158Release Notes
159159---------
You can’t perform that action at this time.
0 commit comments