C:\Users\Yx>curl --insecure -X POST -v https://api.jpush.cn/v3/push/validate -H "Content-Type: application/json" -u "7d431e42dfa6a6d693ac2d04:5e987ac6d2e04d95a9d8f0d1" -d '{"platform":"all","audience":"all","notification":{"alert":"alert"},"options":{"sendno":1356663295,"apns_production":false}}'
- Adding handle: conn: 0x2144610
- Adding handle: send: 0
- Adding handle: recv: 0
- Curl_addHandleToPipeline: length: 1
- - Conn 0 (0x2144610) send_pipe: 1, recv_pipe: 0
- About to connect() to api.jpush.cn port 443 (#0)
- Trying 119.90.34.208...
- Connected to api.jpush.cn (119.90.34.208) port 443 (#0)
- SSLv3, TLS handshake, Client hello (1):
- SSLv3, TLS handshake, Server hello (2):
- SSLv3, TLS handshake, CERT (11):
- SSLv3, TLS handshake, Server finished (14):
- SSLv3, TLS handshake, Client key exchange (16):
- SSLv3, TLS change cipher, Client hello (1):
- SSLv3, TLS handshake, Finished (20):
- SSLv3, TLS change cipher, Client hello (1):
- SSLv3, TLS handshake, Finished (20):
- SSL connection using RC4-SHA
- Server certificate:
- subject: C=CN; ST=GuangDong; L=Shenzhen; O=Shenzhen HeXunHuaGu Information Technologies Co., Ltd; CN=*.jpush.cn
- start date: 2015-07-27 00:00:00 GMT
- expire date: 2017-08-20 23:59:59 GMT
- issuer: C=US; O=GeoTrust Inc.; CN=GeoTrust SSL CA - G3
- SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
- Server auth using Basic with user '7d431e42dfa6a6d693ac2d04' > POST /v3/push/validate HTTP/1.1 > Authorization: Basic N2Q0MzFlNDJkZmE2YTZkNjkzYWMyZDA0OjVlOTg3YWM2ZDJlMDRkOTVhOWQ4ZjBkMQ== > User-Agent: curl/7.33.0 > Host: api.jpush.cn > Accept: / > Content-Type: application/json > Content-Length: 106 >
- upload completely sent off: 106 out of 106 bytes < HTTP/1.1 400 BAD REQUEST
- Server nginx is not blacklisted < Server: nginx < Date: Thu, 03 Sep 2015 10:44:33 GMT < Content-Type: application/json < Transfer-Encoding: chunked < Connection: keep-alive < X-Rate-Limit-Limit: 600 < X-Rate-Limit-Remaining: 599 < X-Rate-Limit-Reset: 60 < {"error": {"message": "Missing parameter", "code": 1002}}* Connection #0 to host api.jpush.cn left intact 明明推送串没有问题。但是就是不行,请求解答! 谢谢