Advertisement
Guest User

REST snappy

a guest
Mar 3rd, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ubuntu@localhost:/$ echo -e "GET /2.0/interfaces HTTP/1.0\r\n" | nc -U /run/snapd.socket
  2. HTTP/1.0 404 Not Found
  3. Content-Type: application/json
  4. Date: Thu, 03 Mar 2016 09:01:26 GMT
  5. Content-Length: 88
  6.  
  7. {"result":{"message":"not found"},"status":"Not Found","status_code":404,"type":"error"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement