Skip to content

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
franklupo committed Feb 19, 2024
1 parent c6da27a commit f5633fe
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,3 @@ if (client.login("root", "password", "pam")) {
System.out.println(retDeleSnap.getResponse().get("data"));
}
```

## Escape string

For escape string use **URLEncoder.encode**

```java
Map<Integer, String> netN = new HashMap<>();
netN.put(1, URLEncoder.encode("name=eth0,rate=15,bridge=vmbr0,firewall=1,gw=xx.xx.xx.xx,ip=xx.xx.xx.xx/24,hwaddr=02:00:be:0f:f2:63",StandardCharsets.UTF_8));
```

0 comments on commit f5633fe

Please sign in to comment.