Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change addTracksToPlaylist to request body #117

Merged
merged 4 commits into from
Apr 24, 2017

Conversation

dolcalmi
Copy link
Contributor

According to the following note:

"Note: it is likely that passing a large number of track URIs as a query parameter will exceed the maximum length of the request URI. When adding a large number of tracks it is recommended to pass them in the request body, see below."
https://developer.spotify.com/web-api/add-tracks-to-playlist/

just changed withQueryParameters to withBodyParameters in addTracksToPlaylist

position: 10
});
console.log('inside');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove this console.log?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shame on me :( .... fixed

@JMPerez JMPerez merged commit 49fc626 into thelinmichael:master Apr 24, 2017
atoami pushed a commit to atoami/react-native-spotify-web-api that referenced this pull request Oct 20, 2018
* change uris to body in addTracksToPlaylist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants