检查流量数据覆盖范围
2021-5-18 14:47:45
收藏:0
阅读:121
评论:0
我正在测试一个全新的免费账户的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), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, 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
点赞
评论区的留言会收到邮件通知哦~
推荐文章
- Lua 虚拟机加密load(string.dump(function)) 后执行失败问题如何解决
- 我想创建一个 Nginx 规则,禁止访问
- 如何将两个不同的lua文件合成一个 东西有点长 大佬请耐心看完 我是小白研究几天了都没搞定
- 如何在roblox studio中1:1导入真实世界的地形?
- 求解,lua_resume的第二次调用继续执行协程问题。
- 【上海普陀区】内向猫网络招募【Skynet游戏框架Lua后端程序员】
- SF爱好求教:如何用lua实现游戏内调用数据库函数实现账号密码注册?
- Lua实现网站后台开发
- LUA错误显式返回,社区常见的规约是怎么样的
- lua5.3下载库失败
- 请问如何实现文本框内容和某个网页搜索框内容连接,并把网页输出来的结果反馈到另外一个文本框上
- lua lanes多线程使用
- 一个kv数据库
- openresty 有没有比较轻量的 docker 镜像
- 想问一下,有大佬用过luacurl吗
- 在Lua执行过程中使用Load函数出现问题
- 为什么 neovim 里没有显示一些特殊字符?
- Lua比较两个表的值(不考虑键的顺序)
- 有个lua简单的项目,外包,有意者加微信 liuheng600456详谈,最好在成都
- 如何在 Visual Studio 2022 中运行 Lua 代码?
