如何解决检查区域是否被交通流量覆盖
我正在一个全新的免费增值帐户上测试 API。对于一些示例,它按预期工作,但对于我感兴趣的领域,它返回 204 No Content
。
我在哪里可以查询某个区域是否被覆盖?
curl -v \
-X GET \
-H 'Content-Type: *' \
--get 'https://traffic.ls.hereapi.com/traffic/6.1/flow.json' \
--data-urlencode 'bBox=35.8730,14.5108;35.8655,14.5189' \
--data-urlencode 'apiKey=RH2**************************ACis'
Note: Unnecessary use of -X or --request,GET is already inferred.
* Trying 34.255.189.0:443...
* Connected to traffic.ls.hereapi.com (34.255.189.0) port 443 (#0)
* ALPN,offering h2
* ALPN,offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT),TLS handshake,Client hello (1):
* TLSv1.3 (IN),Server hello (2):
* TLSv1.2 (IN),Certificate (11):
* TLSv1.2 (IN),Server key exchange (12):
* TLSv1.2 (IN),Server finished (14):
* TLSv1.2 (OUT),Client key exchange (16):
* TLSv1.2 (OUT),TLS change cipher,Change cipher spec (1):
* TLSv1.2 (OUT),Finished (20):
* TLSv1.2 (IN),Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN,server did not agree to a protocol
* Server certificate:
* subject: C=NL; ST=Noord-Brabant; L=Eindhoven; O=HERE Global BV; CN=traffic.ls.hereapi.com
* start date: May 5 08:29:46 2020 GMT
* expire date: May 6 08:29:46 2021 GMT
* subjectAltName: host "traffic.ls.hereapi.com" matched cert's "traffic.ls.hereapi.com"
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign RSA OV SSL CA 2018
* SSL certificate verify ok.
> GET /traffic/6.1/flow.json?bBox=35.8730%2C14.5108%3B35.8655%2C14.5189&apiKey=RH************s HTTP/1.1
> Host: traffic.ls.hereapi.com
> User-Agent: curl/7.71.1
> Accept: */*
> Content-Type: *
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< Accept-Ranges: bytes
< Content-Type: application/json
< Date: Sat,27 Feb 2021 15:10:20 GMT
< ServedItems: 0
< Server: openresty
< time: 233
< vary: Accept-Charset,Accept-Language,Accept
< X-NLP-TID: ea69440d-5689-49af-89c9-a6c1538b4725
< X-REQ-MODE: flow-small
< X-Request-Id: REQ-c99544f8-7776-4bb4-9d25-8f148dec8fc9
< X-Served-By: i-04b5db781c349303a.eu-west-1a
< Connection: keep-alive
<
* Connection #0 to host traffic.ls.hereapi.com left intact
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。