Fixed README typos
This commit is contained in:
parent
6440ca0290
commit
1f9eef7d02
|
|
@ -113,7 +113,7 @@ In following examples the connection, login and disconnection code will not be r
|
|||
|
||||
## Reading data
|
||||
|
||||
A simple example that returns a result: Print all interfaces.
|
||||
A simple example that returns a result - Print all interfaces:
|
||||
|
||||
|
||||
```java
|
||||
|
|
@ -141,7 +141,7 @@ List<Map<String, String>> rs = con.execute("/interface/print where type=vlan");
|
|||
|
||||
### Selecting returned fields
|
||||
|
||||
The same query, but we only want certain result fields names: Print all interfaces of type 'vlan' and return just their name.
|
||||
The same query, but we only want certain result fields names: Print all interfaces of type 'vlan' and return just their name:
|
||||
|
||||
```java
|
||||
List<Map<String, String>> rs = con.execute("/interface/print where type=vlan return name");
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ package examples;
|
|||
*/
|
||||
public class Config {
|
||||
|
||||
public static final String HOST = "wifimanager.adept.za.net";
|
||||
public static final String USERNAME = "adept";
|
||||
public static final String PASSWORD = "tzrx21j";
|
||||
public static final String HOST = "192.168.1.1";
|
||||
public static final String USERNAME = "admin";
|
||||
public static final String PASSWORD = "";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue