We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68d0b7a commit abead35Copy full SHA for abead35
gcp_cloud_function_ifconfig/README.md
@@ -13,8 +13,8 @@ Response is HTTP status code and message, then the raw JSON results
13
200 OK
14
15
{
16
- "ip": "...",
17
- "ip_decimal": ... ,
+ "ip": "1.2.3.4",
+ "ip_decimal": 1234567890,
18
"country": "United States",
19
"country_iso": "US",
20
"country_eu": false,
@@ -32,6 +32,12 @@ Response is HTTP status code and message, then the raw JSON results
32
}
33
```
34
35
+For IPv6 the format will be more like:
36
+```
37
+ "ip": "1234:5678:9012:34::a",
38
+ "ip_decimal": 12345678901234567890123456789012345678,
39
40
+
41
Upload the function to GCF in the current GCP project - this script will call `gcloud functions deploy` with the required switches:
42
43
0 commit comments