Advertisement
Guest User

Casper 9.2.2 API CURL 1/9/13 3PM

a guest
Jan 9th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. US-MAC-HIRTLE:~ chirtle$ curl -kv -u svc_apiwrite:MyPass https://jss.myorg.com:8443/JSSResource/categories -X GET > /tmp/validreturngoesHerePlease.xml
  2. * Adding handle: conn: 0x7fba89803a00
  3. * Adding handle: send: 0
  4. * Adding handle: recv: 0
  5. * Curl_addHandleToPipeline: length: 1
  6. * - Conn 0 (0x7fba89803a00) send_pipe: 1, recv_pipe: 0
  7. % Total % Received % Xferd Average Speed Time Time Time Current
  8. Dload Upload Total Spent Left Speed
  9. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to jss.myorg.com port 8443 (#0)
  10. * Trying 10.111.200.117...
  11. * Connected to jss.myorg.com (10.111.200.117) port 8443 (#0)
  12. * TLS 1.2 connection using TLS_RSA_WITH_AES_128_CBC_SHA
  13. * Server certificate: jss.myorg.com
  14. * Server certificate: MyOrg COM JSS Built-in Certificate Authority
  15. * Server auth using Basic with user 'svc_apiwrite'
  16. > GET /JSSResource/categories HTTP/1.1
  17. > Authorization: Basic c3ZjX2FwaXdyaXRlOkNhc3BlcjIwMTQ=
  18. > User-Agent: curl/7.30.0
  19. > Host: jss.myorg.com:8443
  20. > Accept: */*
  21. >
  22. 0 0 0 0 0 0 0 0 --:--:-- 0:00:16 --:--:-- 0< HTTP/1.1 200 OK
  23. < X-FRAME-OPTIONS: SAMEORIGIN
  24. < Cache-Control: no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
  25. < Date: Thu, 09 Jan 2014 19:29:07 GMT
  26. < Accept-Ranges: bytes
  27. * Server Restlet-Framework/2.1m7 is not blacklisted
  28. < Server: Restlet-Framework/2.1m7
  29. < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
  30. < Content-Type: text/xml;charset=UTF-8
  31. < Transfer-Encoding: chunked
  32. <
  33. { [data not shown]
  34. 100 400 0 400 0 0 23 0 --:--:-- 0:00:17 --:--:-- 91
  35. * Connection #0 to host jss.myorg.com left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement