Artica Wiki

Manage Internet access parameters using Web API service

This parameter allows you to define settings to enable Artica to download resources from the Internet.

This parameter allows you to define settings to enable Artica to download resources from the Internet using Web API service.

Get Internet parameters

GET http://[server]:[port]/system/internet/access

Give a json output 

{
Status: true
Info: "HTTP Client parameters"
UseProxy: false
Proxy: ""
ProxyUserName: ""
LocalInterface: ""
UserAgent: "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0"
}

Change internet access settings.

POST http://[server]:[port]/system/internet/access  

Post fields using these values 

Example: 

curl -X POST --data "UseProxy=1&Proxy=192.168.1.165:3128&ProxyUserName=dtouzeau&ProxyPassword=P@\$\$word1234&UserAgent=Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0" http://[server]:[port]/system/internet/access