Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- US-MAC-HIRTLE:~ chirtle$ curl -kv -u svc_apiwrite:MyPass https://jss.myorg.com:8443/JSSResource/categories -X GET > /tmp/validreturngoesHerePlease.xml
- * Adding handle: conn: 0x7fb6fb003a00
- * Adding handle: send: 0
- * Adding handle: recv: 0
- * Curl_addHandleToPipeline: length: 1
- * - Conn 0 (0x7fb6fb003a00) send_pipe: 1, recv_pipe: 0
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to jss.myorg.com port 8443 (#0)
- * Trying 10.111.200.117...
- * Connected to jss.myorg.com (10.111.200.117) port 8443 (#0)
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLS 1.2 connection using TLS_RSA_WITH_AES_128_CBC_SHA
- * Server certificate: localhost
- * Server auth using Basic with user 'svc_apiwrite'
- > GET /JSSResource/categories HTTP/1.1
- > Authorization: Basic c3ZjX2FwaXdyaXRlOkNhc3BlcjIwMTQ=
- > User-Agent: curl/7.30.0
- > Host: jss.myorg.com:8443
- > Accept: */*
- >
- < HTTP/1.1 200 OK
- < Date: Thu, 09 Jan 2014 14:11:07 GMT
- < Accept-Ranges: bytes
- * Server Restlet-Framework/2.0.10 is not blacklisted
- < Server: Restlet-Framework/2.0.10
- < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
- < Content-Type: application/json;charset=UTF-8
- < Transfer-Encoding: chunked
- <
- { [data not shown]
- 100 211 0 211 0 0 728 0 --:--:-- --:--:-- --:--:-- 727
- * Connection #0 to host jss.myorg.com left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement