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
140
140
This feature has been added in order to Import large amount of data to the consul without using the UI.
141
141
a simple basic `token` is used to authenticate and `rights` to import the data through `backend/api.php`.
142
142
143
- ` Rights` : always use `111`
143
+ ** Rights** : always use `111`
144
144
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
149
149
- 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/
152
152
- file : exported JSON file which will be imported.
153
153
- 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
+ ```
157
157
158
158
Release Notes
159
159
---------
You can’t perform that action at this time.
0 commit comments