检查区域是否被交通流量覆盖

问题描述

我正在一个全新的免费增值帐户上测试 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 (将#修改为@)