
% curl -v -k -E ’<certificate.pem>:<secret key>' https://<HOST_NAME>/iot/gateway/rest/commands/<DEVICE_ALTERNATE_ID>; |
% curl -v -k -E ’<certificate.pem>:<secret key>' https://<HOST_NAME>/iot/gateway/rest/commands/<DEVICE_ALTERNATE_ID>; * Trying 3.121.203.15:443... * Connected to <HOST_NAME> port 443 (#0) * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /Users/<Your user>/opt/anaconda3/ssl/cacert.pem 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, Request CERT (13): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Certificate (11): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS handshake, CERT verify (15): * 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-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=Pennsylvania; L=Newtown Square; O=SAP America Inc.; CN=*.eu10.cp.iot.sap * start date: Feb 12 00:00:00 2021 GMT * expire date: Feb 16 23:59:59 2022 GMT * issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1 * SSL certificate verify ok. > GET /iot/gateway/rest/commands/<ALTERNAME_DEVICE_ID> HTTP/1.1 > Host: <HOST_NAME> > User-Agent: curl/7.71.1 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Content-Type: application/json;charset=UTF-8 < content-length: 113 < Strict-Transport-Security: max-age=16000000; includeSubDomains; preload; < * Connection #0 to host <HOSTNAME> left intact [{"sensorAlternateId":"10005","capabilityAlternateId":"10000","command":{"Speed":50.0,"Buzzer":true,"LED":true}}] |
----中略----- * Connection #0 to host <HOST_NAME> left intact [{"sensorAlternateId":"10005","capabilityAlternateId":"10000","command":{"Speed":50.0,"Buzzer":true,"LED":true}},{"sensorAlternateId":"10005","capabilityAlternateId":"10000","command":{"Speed":0.0,"Buzzer":false,"LED":false}}]% |
* Connection #0 to host <HOSTNAME> left intact [] |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
17 | |
17 | |
12 | |
11 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 |