Return to Snippet

Revision: 49565
at July 25, 2011 13:40 by rowntreerob


Updated Code
get token

$ curl "https://api.soundcloud.com/oauth2/token" -k -d \
 'client_id=_myID'  -d 'client_secret=_mysecret' -d \
 'grant_type=password' -d 'username=_myaccount'  -d 'password=_mypass'


{"access_token":"ee19aa5fe5c278b415a4b6d54006d234","expires_in":3599,"scope":"*","refresh_token":"a4609c76e564ac34da1ee4a929645152"}

use the token from response above to upload

$ curl -X POST "https://api.soundcloud.com/tracks.json" \
-k -F 'oauth_token=09b1d5655e257c841c5e34b50203aef2' -F \
'track[asset_data][email protected]' -F \
'track[title]=voice-clip'  -F 'track[sharing]=public' -F \
'track[downloadable]=true'


{"id":19700899,"created_at":"2011/07/24 21:41:03 +0000","user_id":6193466,"duration":0,"commentable":true,"state":"storing","sharing":"public","tag_list":"","pe
rmalink":"test-voice-clip","description":null,"streamable":true,"downloadable":true,"genre":null,"release":null,"purchase_url":null,"label_id":null,"label_name
":null,"isrc":null,"video_url":null,"track_type":null,"key_signature":null,"bpm":null,"title":"test-voice-clip","release_year":null,"release_month":null,"releas
e_day":null,"original_format":"unknown","license":"all-rights-reserved","uri":"https://api.soundcloud.com/tracks/19700899","permalink_url":"http://soundcloud.co
m/user1283899/test-voice-clip","artwork_url":null,"waveform_url":"http://a1.sndcdn.com/images/player-waveform-medium.png?1893888","user":{"id":6193466,"permalin
k":"user1283899","username":"user1283899","uri":"https://api.soundcloud.com/users/6193466","permalink_url":"http://soundcloud.com/user1283899","avatar_url":"htt
p://a1.sndcdn.com/images/default_avatar_large.png?1893888"},
"stream_url":"https://api.soundcloud.com/tracks/19700899/stream",
"download_url":"https://api.soundcloud.com/tracks/19700899/download",
"downloads_remaining":100,"secret_token":"s-SRAjD","secret_uri":"https://api.soundcloud.com/tracks/19700899?secret_token=s-SRA
jD","user_playback_count":1,"user_favorite":false,"playback_count":0,"download_count":0,"favoritings_count":0,"comment_count":0,"created_with":{"id":29714,"name
":"borneo","uri":"https://api.soundcloud.com/apps/29714","permalink_url":"http://soundcloud.com/apps/borneo"},"attachments_uri":"https://api.soundcloud.com/trac
ks/19700899/attachments"}


download song: MUST B DOWNLOADable in the metadata for the track

Request URL:https://api.soundcloud.com/tracks/19700899/download?client_id=_myID
Request Method:GET
Status Code:302 Moved Temporarily

'parse Location: header to get new url'

Access-Control-Allow-Headers:Authorization, Content-Type, Accept
Access-Control-Allow-Methods:GET, PUT, POST, DELETE
Access-Control-Allow-Origin:*
Cache-Control:no-cache
Connection:keep-alive
Content-Length:269
Content-Type:text/html; charset=utf-8
Date:Mon, 25 Jul 2011 02:27:04 GMT
Location:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479

'client follows redirect:  getting back the same file that was uploaded'

Request URL:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:__qca=P0-295632680-1311524594186; qu=Infinity; qp=3; qs=100; qc=1; qn=20; qg=1; u=user1283899; p=user1283899; l=0; c=free; _soundcloud_session=BAh7CDoPc2Vzc2lvbl9pZCIlODAyZmYzYjljNDljZGU0MmQ1NjliMzY5YmJhODY3MTU6CXVzZXJpAzqBXjoQX2NzcmZfdG9rZW5JIjFtNHZ5QjExa3pMblVzRW9CK2p2dnROeTh0ZGtkYzUxb1FxR2RWWjRTYzRvPQY6BkVG--47d754b5322db347286598b2c5b59ee1eb1431ed; __utmx=179375142.; __utmxx=179375142.; r=1; __utma=179375142.440645041.1311524594.1311541676.1311545519.3; __utmc=179375142; __utmz=179375142.1311545519.3.3.utmcsr=developers.soundcloud.com|utmccn=(referral)|utmcmd=referral|utmcct=/docs/api/authentication; __utmv=179375142.|1=plan=free=1
Host:ak-media.soundcloud.com
User-Agent:Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1
Query String Parametersview URL encoded
AWSAccessKeyId:AKIAJBHW5FB4ERKUQUOQ
Expires:1311560844
Signature:sI4M8AFXHahHrZX9a37cV4sMHaA=
__gda__:1311560844_a5e7bce208cac02536f3395b6a302479
Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=31534638
Connection:keep-alive
Content-Disposition:attachment;filename="recording1147240752.3gpp"
Content-Length:21915
Content-Type:video/3gpp
Date:Mon, 25 Jul 2011 02:27:04 GMT
ETag:"7faef5a13515b7612ed7dfb664edfee9"
Last-Modified:Sun, 24 Jul 2011 21:41:09 GMT
Server:AmazonS3
x-amz-id-2:aoFyAe+icJ5htwVk+CWtKWSayTShEfLoyhMBJUALxNr08NEtaoQJqghJ8Iwk3thX
x-amz-meta-duration:29031
x-amz-meta-file-type:raw
x-amz-meta-user-id:6193466
x-amz-request-id:41F6A8DF69C83B6E

Revision: 49564
at July 25, 2011 13:29 by rowntreerob


Updated Code
get token

$ curl "https://api.soundcloud.com/oauth2/token" -k -d \
 'client_id=_myID'  -d 'client_secret=75eb6f92781c62d65dbc4c335aa4085a' -d \
 'grant_type=password' -d 'username=_myaccount'  -d 'password=_mypass'


{"access_token":"ee19aa5fe5c278b415a4b6d54006d234","expires_in":3599,"scope":"*","refresh_token":"a4609c76e564ac34da1ee4a929645152"}

use the token from response above to upload

$ curl -X POST "https://api.soundcloud.com/tracks.json" \
-k -F 'oauth_token=09b1d5655e257c841c5e34b50203aef2' -F \
'track[asset_data][email protected]' -F \
'track[title]=voice-clip'  -F 'track[sharing]=public' -F \
'track[downloadable]=true'


{"id":19700899,"created_at":"2011/07/24 21:41:03 +0000","user_id":6193466,"duration":0,"commentable":true,"state":"storing","sharing":"public","tag_list":"","pe
rmalink":"test-voice-clip","description":null,"streamable":true,"downloadable":true,"genre":null,"release":null,"purchase_url":null,"label_id":null,"label_name
":null,"isrc":null,"video_url":null,"track_type":null,"key_signature":null,"bpm":null,"title":"test-voice-clip","release_year":null,"release_month":null,"releas
e_day":null,"original_format":"unknown","license":"all-rights-reserved","uri":"https://api.soundcloud.com/tracks/19700899","permalink_url":"http://soundcloud.co
m/user1283899/test-voice-clip","artwork_url":null,"waveform_url":"http://a1.sndcdn.com/images/player-waveform-medium.png?1893888","user":{"id":6193466,"permalin
k":"user1283899","username":"user1283899","uri":"https://api.soundcloud.com/users/6193466","permalink_url":"http://soundcloud.com/user1283899","avatar_url":"htt
p://a1.sndcdn.com/images/default_avatar_large.png?1893888"},
"stream_url":"https://api.soundcloud.com/tracks/19700899/stream",
"download_url":"https://api.soundcloud.com/tracks/19700899/download",
"downloads_remaining":100,"secret_token":"s-SRAjD","secret_uri":"https://api.soundcloud.com/tracks/19700899?secret_token=s-SRA
jD","user_playback_count":1,"user_favorite":false,"playback_count":0,"download_count":0,"favoritings_count":0,"comment_count":0,"created_with":{"id":29714,"name
":"borneo","uri":"https://api.soundcloud.com/apps/29714","permalink_url":"http://soundcloud.com/apps/borneo"},"attachments_uri":"https://api.soundcloud.com/trac
ks/19700899/attachments"}


download song: MUST B DOWNLOADable in the metadata for the track

Request URL:https://api.soundcloud.com/tracks/19700899/download?client_id=_myID
Request Method:GET
Status Code:302 Moved Temporarily

'parse Location: header to get new url'

Access-Control-Allow-Headers:Authorization, Content-Type, Accept
Access-Control-Allow-Methods:GET, PUT, POST, DELETE
Access-Control-Allow-Origin:*
Cache-Control:no-cache
Connection:keep-alive
Content-Length:269
Content-Type:text/html; charset=utf-8
Date:Mon, 25 Jul 2011 02:27:04 GMT
Location:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479

'client follows redirect:  getting back the same file that was uploaded'

Request URL:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:__qca=P0-295632680-1311524594186; qu=Infinity; qp=3; qs=100; qc=1; qn=20; qg=1; u=user1283899; p=user1283899; l=0; c=free; _soundcloud_session=BAh7CDoPc2Vzc2lvbl9pZCIlODAyZmYzYjljNDljZGU0MmQ1NjliMzY5YmJhODY3MTU6CXVzZXJpAzqBXjoQX2NzcmZfdG9rZW5JIjFtNHZ5QjExa3pMblVzRW9CK2p2dnROeTh0ZGtkYzUxb1FxR2RWWjRTYzRvPQY6BkVG--47d754b5322db347286598b2c5b59ee1eb1431ed; __utmx=179375142.; __utmxx=179375142.; r=1; __utma=179375142.440645041.1311524594.1311541676.1311545519.3; __utmc=179375142; __utmz=179375142.1311545519.3.3.utmcsr=developers.soundcloud.com|utmccn=(referral)|utmcmd=referral|utmcct=/docs/api/authentication; __utmv=179375142.|1=plan=free=1
Host:ak-media.soundcloud.com
User-Agent:Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1
Query String Parametersview URL encoded
AWSAccessKeyId:AKIAJBHW5FB4ERKUQUOQ
Expires:1311560844
Signature:sI4M8AFXHahHrZX9a37cV4sMHaA=
__gda__:1311560844_a5e7bce208cac02536f3395b6a302479
Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=31534638
Connection:keep-alive
Content-Disposition:attachment;filename="recording1147240752.3gpp"
Content-Length:21915
Content-Type:video/3gpp
Date:Mon, 25 Jul 2011 02:27:04 GMT
ETag:"7faef5a13515b7612ed7dfb664edfee9"
Last-Modified:Sun, 24 Jul 2011 21:41:09 GMT
Server:AmazonS3
x-amz-id-2:aoFyAe+icJ5htwVk+CWtKWSayTShEfLoyhMBJUALxNr08NEtaoQJqghJ8Iwk3thX
x-amz-meta-duration:29031
x-amz-meta-file-type:raw
x-amz-meta-user-id:6193466
x-amz-request-id:41F6A8DF69C83B6E

Revision: 49563
at July 25, 2011 13:28 by rowntreerob


Updated Code
get token

$ curl "https://api.soundcloud.com/oauth2/token" -k -d \
 'client_id=_myID'  -d 'client_secret=75eb6f92781c62d65dbc4c335aa4085a' -d \
 'grant_type=password' -d 'username=_myaccount'  -d 'password=_mypass'


{"access_token":"ee19aa5fe5c278b415a4b6d54006d234","expires_in":3599,"scope":"*","refresh_token":"a4609c76e564ac34da1ee4a929645152"}

use the token from response above to upload

$ curl -X POST "https://api.soundcloud.com/tracks.json" \
-k -F 'oauth_token=09b1d5655e257c841c5e34b50203aef2' -F \
'track[asset_data][email protected]' -F \
'track[title]=voice-clip'  -F 'track[sharing]=public' -F \
'track[downloadable]=true'

'response'

{"id":19700899,"created_at":"2011/07/24 21:41:03 +0000","user_id":6193466,"duration":0,"commentable":true,"state":"storing","sharing":"public","tag_list":"","pe
rmalink":"test-voice-clip","description":null,"streamable":true,"downloadable":true,"genre":null,"release":null,"purchase_url":null,"label_id":null,"label_name
":null,"isrc":null,"video_url":null,"track_type":null,"key_signature":null,"bpm":null,"title":"test-voice-clip","release_year":null,"release_month":null,"releas
e_day":null,"original_format":"unknown","license":"all-rights-reserved","uri":"https://api.soundcloud.com/tracks/19700899","permalink_url":"http://soundcloud.co
m/user1283899/test-voice-clip","artwork_url":null,"waveform_url":"http://a1.sndcdn.com/images/player-waveform-medium.png?1893888","user":{"id":6193466,"permalin
k":"user1283899","username":"user1283899","uri":"https://api.soundcloud.com/users/6193466","permalink_url":"http://soundcloud.com/user1283899","avatar_url":"htt
p://a1.sndcdn.com/images/default_avatar_large.png?1893888"},
"stream_url":"https://api.soundcloud.com/tracks/19700899/stream",
"download_url":"https://api.soundcloud.com/tracks/19700899/download",
"downloads_remaining":100,"secret_token":"s-SRAjD","secret_uri":"https://api.soundcloud.com/tracks/19700899?secret_token=s-SRA
jD","user_playback_count":1,"user_favorite":false,"playback_count":0,"download_count":0,"favoritings_count":0,"comment_count":0,"created_with":{"id":29714,"name
":"borneo","uri":"https://api.soundcloud.com/apps/29714","permalink_url":"http://soundcloud.com/apps/borneo"},"attachments_uri":"https://api.soundcloud.com/trac
ks/19700899/attachments"}


download song: MUST B DOWNLOADable in the metadata for the track

Request URL:https://api.soundcloud.com/tracks/19700899/download?client_id=_myID
Request Method:GET
Status Code:302 Moved Temporarily

'parse Location: header to get new url'

Access-Control-Allow-Headers:Authorization, Content-Type, Accept
Access-Control-Allow-Methods:GET, PUT, POST, DELETE
Access-Control-Allow-Origin:*
Cache-Control:no-cache
Connection:keep-alive
Content-Length:269
Content-Type:text/html; charset=utf-8
Date:Mon, 25 Jul 2011 02:27:04 GMT
Location:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479

'client follows redirect:  getting back the same file that was uploaded'

Request URL:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:__qca=P0-295632680-1311524594186; qu=Infinity; qp=3; qs=100; qc=1; qn=20; qg=1; u=user1283899; p=user1283899; l=0; c=free; _soundcloud_session=BAh7CDoPc2Vzc2lvbl9pZCIlODAyZmYzYjljNDljZGU0MmQ1NjliMzY5YmJhODY3MTU6CXVzZXJpAzqBXjoQX2NzcmZfdG9rZW5JIjFtNHZ5QjExa3pMblVzRW9CK2p2dnROeTh0ZGtkYzUxb1FxR2RWWjRTYzRvPQY6BkVG--47d754b5322db347286598b2c5b59ee1eb1431ed; __utmx=179375142.; __utmxx=179375142.; r=1; __utma=179375142.440645041.1311524594.1311541676.1311545519.3; __utmc=179375142; __utmz=179375142.1311545519.3.3.utmcsr=developers.soundcloud.com|utmccn=(referral)|utmcmd=referral|utmcct=/docs/api/authentication; __utmv=179375142.|1=plan=free=1
Host:ak-media.soundcloud.com
User-Agent:Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1
Query String Parametersview URL encoded
AWSAccessKeyId:AKIAJBHW5FB4ERKUQUOQ
Expires:1311560844
Signature:sI4M8AFXHahHrZX9a37cV4sMHaA=
__gda__:1311560844_a5e7bce208cac02536f3395b6a302479
Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=31534638
Connection:keep-alive
Content-Disposition:attachment;filename="recording1147240752.3gpp"
Content-Length:21915
Content-Type:video/3gpp
Date:Mon, 25 Jul 2011 02:27:04 GMT
ETag:"7faef5a13515b7612ed7dfb664edfee9"
Last-Modified:Sun, 24 Jul 2011 21:41:09 GMT
Server:AmazonS3
x-amz-id-2:aoFyAe+icJ5htwVk+CWtKWSayTShEfLoyhMBJUALxNr08NEtaoQJqghJ8Iwk3thX
x-amz-meta-duration:29031
x-amz-meta-file-type:raw
x-amz-meta-user-id:6193466
x-amz-request-id:41F6A8DF69C83B6E

Revision: 49562
at July 25, 2011 13:26 by rowntreerob


Initial Code
'get token'

curl "https://api.soundcloud.com/oauth2/token" -k -d \
 'client_id=_myID'  -d 'client_secret=75eb6f92781c62d65dbc4c335aa4085a' -d \
 'grant_type=password' -d 'username=_myaccount'  -d 'password=_mypass'

'response'
{"access_token":"ee19aa5fe5c278b415a4b6d54006d234","expires_in":3599,"scope":"*","refresh_token":"a4609c76e564ac34da1ee4a929645152"}

'use the token from response above to upload'

$ curl -X POST "https://api.soundcloud.com/tracks.json" \
-k -F 'oauth_token=09b1d5655e257c841c5e34b50203aef2' -F \
'track[asset_data][email protected]' -F \
'track[title]=voice-clip'  -F 'track[sharing]=public' -F \
'track[downloadable]=true'

'response'

{"id":19700899,"created_at":"2011/07/24 21:41:03 +0000","user_id":6193466,"duration":0,"commentable":true,"state":"storing","sharing":"public","tag_list":"","pe
rmalink":"test-voice-clip","description":null,"streamable":true,"downloadable":true,"genre":null,"release":null,"purchase_url":null,"label_id":null,"label_name
":null,"isrc":null,"video_url":null,"track_type":null,"key_signature":null,"bpm":null,"title":"test-voice-clip","release_year":null,"release_month":null,"releas
e_day":null,"original_format":"unknown","license":"all-rights-reserved","uri":"https://api.soundcloud.com/tracks/19700899","permalink_url":"http://soundcloud.co
m/user1283899/test-voice-clip","artwork_url":null,"waveform_url":"http://a1.sndcdn.com/images/player-waveform-medium.png?1893888","user":{"id":6193466,"permalin
k":"user1283899","username":"user1283899","uri":"https://api.soundcloud.com/users/6193466","permalink_url":"http://soundcloud.com/user1283899","avatar_url":"htt
p://a1.sndcdn.com/images/default_avatar_large.png?1893888"},
"stream_url":"https://api.soundcloud.com/tracks/19700899/stream",
"download_url":"https://api.soundcloud.com/tracks/19700899/download",
"downloads_remaining":100,"secret_token":"s-SRAjD","secret_uri":"https://api.soundcloud.com/tracks/19700899?secret_token=s-SRA
jD","user_playback_count":1,"user_favorite":false,"playback_count":0,"download_count":0,"favoritings_count":0,"comment_count":0,"created_with":{"id":29714,"name
":"borneo","uri":"https://api.soundcloud.com/apps/29714","permalink_url":"http://soundcloud.com/apps/borneo"},"attachments_uri":"https://api.soundcloud.com/trac
ks/19700899/attachments"}


'download song: MUST B DOWNLOADable in the metadata for the track'

Request URL:https://api.soundcloud.com/tracks/19700899/download?client_id=_myID
Request Method:GET
Status Code:302 Moved Temporarily

'parse Location: header to get new url'

Access-Control-Allow-Headers:Authorization, Content-Type, Accept
Access-Control-Allow-Methods:GET, PUT, POST, DELETE
Access-Control-Allow-Origin:*
Cache-Control:no-cache
Connection:keep-alive
Content-Length:269
Content-Type:text/html; charset=utf-8
Date:Mon, 25 Jul 2011 02:27:04 GMT
Location:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479

'client follows redirect:  getting back the same file that was uploaded'

Request URL:http://ak-media.soundcloud.com/P9l8r4x03dpy?AWSAccessKeyId=AKIAJBHW5FB4ERKUQUOQ&Expires=1311560844&Signature=sI4M8AFXHahHrZX9a37cV4sMHaA%3D&__gda__=1311560844_a5e7bce208cac02536f3395b6a302479
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:__qca=P0-295632680-1311524594186; qu=Infinity; qp=3; qs=100; qc=1; qn=20; qg=1; u=user1283899; p=user1283899; l=0; c=free; _soundcloud_session=BAh7CDoPc2Vzc2lvbl9pZCIlODAyZmYzYjljNDljZGU0MmQ1NjliMzY5YmJhODY3MTU6CXVzZXJpAzqBXjoQX2NzcmZfdG9rZW5JIjFtNHZ5QjExa3pMblVzRW9CK2p2dnROeTh0ZGtkYzUxb1FxR2RWWjRTYzRvPQY6BkVG--47d754b5322db347286598b2c5b59ee1eb1431ed; __utmx=179375142.; __utmxx=179375142.; r=1; __utma=179375142.440645041.1311524594.1311541676.1311545519.3; __utmc=179375142; __utmz=179375142.1311545519.3.3.utmcsr=developers.soundcloud.com|utmccn=(referral)|utmcmd=referral|utmcct=/docs/api/authentication; __utmv=179375142.|1=plan=free=1
Host:ak-media.soundcloud.com
User-Agent:Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1
Query String Parametersview URL encoded
AWSAccessKeyId:AKIAJBHW5FB4ERKUQUOQ
Expires:1311560844
Signature:sI4M8AFXHahHrZX9a37cV4sMHaA=
__gda__:1311560844_a5e7bce208cac02536f3395b6a302479
Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=31534638
Connection:keep-alive
Content-Disposition:attachment;filename="recording1147240752.3gpp"
Content-Length:21915
Content-Type:video/3gpp
Date:Mon, 25 Jul 2011 02:27:04 GMT
ETag:"7faef5a13515b7612ed7dfb664edfee9"
Last-Modified:Sun, 24 Jul 2011 21:41:09 GMT
Server:AmazonS3
x-amz-id-2:aoFyAe+icJ5htwVk+CWtKWSayTShEfLoyhMBJUALxNr08NEtaoQJqghJ8Iwk3thX
x-amz-meta-duration:29031
x-amz-meta-file-type:raw
x-amz-meta-user-id:6193466
x-amz-request-id:41F6A8DF69C83B6E

Initial URL

                                

Initial Description
get token
upload track
download track to client ( request --> REDIRECT --> follow it to get download

Initial Title
soundcloud load audio track and use client to get it

Initial Tags
api

Initial Language
Bash