mirror of
https://github.com/azenla/AppleCache.git
synced 2026-08-23 19:02:38 +02:00
Fix highlighting in the README for locator.
This commit is contained in:
+5
-2
@@ -12,9 +12,9 @@ The request JSON to locate all the caches is:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"ranked-results": true,
|
"ranked-results": true,
|
||||||
"locator-tag": "#f5cfd4d0", // Seems to be different each time.
|
"locator-tag": "#f5cfd4d0",
|
||||||
"local-addresses": [
|
"local-addresses": [
|
||||||
"10.0.0.60" // My local address.
|
"10.0.0.60"
|
||||||
],
|
],
|
||||||
"public-address-ranges": [
|
"public-address-ranges": [
|
||||||
[]
|
[]
|
||||||
@@ -37,6 +37,9 @@ The request JSON to locate all the caches is:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The most important thing is the request is the local-addresses array,
|
||||||
|
which should be the address of the requesting machine.
|
||||||
|
|
||||||
The response looks similar to:
|
The response looks similar to:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|||||||
Reference in New Issue
Block a user