Announcements

Help Wizard

Step 1

NEXT STEP

Endpoint inconsistency for saving albums/audibooks and HTML returned

Endpoint inconsistency for saving albums/audibooks and HTML returned

Sending a request to the /me/albums endpoint is simple enough: set the query and it works. Doing the same for the /me/audiobooks endpoint doesn't: an error is returned, but not a JSON error, no no no! An HTML page with a title, header and formatting that says that POST requests require a valid Content-Length header. The methods for saving albums/ are PUT, not POST. And the error is HTML, not JSON. It gave me a hard time.

Reply
0 Replies

Suggested posts