This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --request POST -d "" http://8tracks.com/mixes/14/toggle_like.xml?user_token=1%3B123456789 | |
- or - | |
curl --header "X-User-Token: 1;123456789" --request POST -d "" http://8tracks.com/mixes/14/toggle_like.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u remi:bad --request POST -d "" http://8tracks.com/mixes/14/toggle_like.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response> | |
<logged_in>false</logged_in> | |
<status>401 Unauthorized</status> | |
<errors nil="true"></errors> | |
<notices> | |
<notice>You must log in to do this.</notice> | |
</notices> | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u remi:good --request POST -d "" http://8tracks.com/mixes/14/toggle_like.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response> | |
<logged_in>true</logged_in> | |
<status>200 OK</status> | |
<errors nil="true"></errors> | |
<notices nil="true"></notices> | |
... | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --header 'X-Api-Key: xxxxxx' --request POST -d "user[login]=remi&user[password]=password&user[email][email protected]&user[agree_to_terms]=1" https://8tracks.com/users.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response> | |
<status>201 Created</status> | |
<user-created>true</user-created> | |
<current-user> | |
<id>1821436</id> | |
<login>remi123</login> | |
<popup-prefs>ask</popup-prefs> | |
<next-mix-prefs>ask</next-mix-prefs> | |
<slug>remi123</slug> | |
<bio-html nil="true"></bio-html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://8tracks.com/mixes.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response> | |
<id>3</id> | |
<path>/mix_sets/3</path> | |
<restful-url>http://8tracks.com/mix_sets/3</restful-url> | |
<total-entries>326448</total-entries> | |
<page>1</page> | |
<per-page>12</per-page> | |
<next-page>2</next-page> | |
<previous-page nil="true"></previous-page> | |
<total-pages>27204</total-pages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://8tracks.com/mixes.xml?page=2 |