description |
---|
List, Insert And Remove Orakl Network Proxies |
The **Orakl Network ** state can store information about the multiple proxies. Proxies are can be utilized to fetch data by making requests through defined proxy configurations.
The Orakl Network CLI provides commands to
orakl-cli proxy list
[
{ id: '1', protocol: 'http', host: '127.0.0.1', port: 80},
{ id: '1', protocol: 'http', host: '127.0.0.1', port: 88'},
]
Proxies can be added with a proxy insert
command. A unique proxy can be added only once.
orakl-cli proxy insert \
--protocol ${protocol} \
--host ${host} \
--port ${port}
- example
orakl-cli proxy insert --protocol http --host 127.0.0.1 --port 80
Proxies can be removed when there are no association to them yet.
orakl-cli proxy remove \
--id ${id}
- example
orakl-cli proxy remove --id 15