Skip to content

Instantly share code, notes, and snippets.

@norrs
Created May 14, 2013 18:24
Show Gist options
  • Save norrs/5578233 to your computer and use it in GitHub Desktop.
Save norrs/5578233 to your computer and use it in GitHub Desktop.
rockj@pandora:~$ curl -v "http://192.168.69.10:8082/rest/getArtists.view?u=admin&p=enc:xxxxx&v=1.9.0&c=tomahawk&f=json"
* About to connect() to 192.168.69.10 port 8082 (#0)
* Trying 192.168.69.10...
* connected
* Connected to 192.168.69.10 (192.168.69.10) port 8082 (#0)
> GET /rest/getArtists.view?u=admin&p=enc:xxxx&v=1.9.0&c=tomahawk&f=json HTTP/1.1
> User-Agent: curl/7.26.0
> Host: 192.168.69.10:8082
> Accept: */*
>
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: JSESSIONID=259qiufn0oqn;Path=/
< Access-Control-Allow-Origin: *
< Content-Length: 120
< Server: Jetty(6.1.x)
<
{"subsonic-response": {
"artists": "",
"status": "ok",
"xmlns": "http://subsonic.org/restapi",
"version": "1.9.0"
* Connection #0 to host 192.168.69.10 left intact
}}* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment